fix alpha index
authoralfadur
Mon, 19 Aug 2019 18:24:08 +0300
changeset 15346 53ca3783eca3
parent 15345 4e91a7050add
child 15347 0230c4766aa6
fix alpha index
hedgewars/SDLh.pas
--- a/hedgewars/SDLh.pas	Mon Aug 19 18:06:46 2019 +0300
+++ b/hedgewars/SDLh.pas	Mon Aug 19 18:24:08 2019 +0300
@@ -218,7 +218,7 @@
     GShift = 8;
     BShift = 16;
     AShift = 24;
-    AByteIndex = 0;
+    AByteIndex = 3;
 {$ELSE}
     RMask = $FF000000;
     GMask = $00FF0000;
@@ -228,7 +228,7 @@
     GShift = 16;
     BShift = 8;
     AShift = 0;
-    AByteIndex = 3;
+    AByteIndex = 0;
 {$ENDIF}
 
     KMOD_NONE   = $0000;