hedgewars/SDLh.pas
changeset 5041 3dc6ad20cbfe
parent 5018 cede79695460
child 5046 fc6639d56799
--- a/hedgewars/SDLh.pas	Tue Mar 22 19:27:14 2011 +0300
+++ b/hedgewars/SDLh.pas	Tue Mar 22 23:01:26 2011 -0400
@@ -226,11 +226,19 @@
     GMask = $0000FF00;
     BMask = $00FF0000;
     AMask = $FF000000;
+    RShift = 0;
+    GShift = 8;
+    BShift = 16;
+    AShift = 24;
 {$ELSE}
     RMask = $FF000000;
     GMask = $00FF0000;
     BMask = $0000FF00;
     AMask = $000000FF;
+    RShift = 24;
+    GShift = 16;
+    BShift = 8;
+    AShift = 0;
 {$ENDIF}
 
     {* SDL_mixer *}