GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-editor.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ffde8
)
Fix texture preview on Linux
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 12 May 2018 10:27:32 +0000
(13:27 +0300)
committer
Stas'M <x86corez@gmail.com>
Sat, 12 May 2018 10:46:49 +0000
(13:46 +0300)
src/editor/f_addresource_texture.pas
patch
|
blob
|
history
diff --git
a/src/editor/f_addresource_texture.pas
b/src/editor/f_addresource_texture.pas
index df0b55559f2aa34550dd653363cd36041499de83..32a4da1d8b8c96597489e82f5474cb9f50f438ab 100644
(file)
--- a/
src/editor/f_addresource_texture.pas
+++ b/
src/editor/f_addresource_texture.pas
@@
-299,6
+299,9
@@
begin
ii^ := clr.b; Inc(ii);
ii^ := clr.g; Inc(ii);
ii^ := clr.r; Inc(ii);
+
+ (* Why this works in linux? *)
+ {$IFNDEF WINDOWS}Inc(ii){$ENDIF}
end;
end;
FreeImage(img);
DEADSOFTWARE 2012-2025