hedgewars/SDLh.pas
changeset 6982 8d41d22a291d
parent 6976 ec6b4118e7b1
child 6990 40e5af28d026
--- a/hedgewars/SDLh.pas	Tue May 01 20:54:30 2012 +0400
+++ b/hedgewars/SDLh.pas	Tue May 01 19:56:55 2012 +0200
@@ -1088,13 +1088,14 @@
     exit(0);
 end;
 {$ELSE}
-function SDL_AllocFormat(format: LongWord): PSDL_PixelFormat;
 const conversionFormat: TSDL_PixelFormat = (
         palette: nil; BitsPerPixel: 32; BytesPerPixel: 4;
         Rloss: 0; Gloss: 0; Bloss: 0; Aloss: 0;
         Rshift: RShift; Gshift: GShift; Bshift: BShift; Ashift: AShift;
         RMask: RMask; GMask: GMask; BMask: BMask; AMask: AMask;
         colorkey: 0; alpha: 255);
+
+function SDL_AllocFormat(format: LongWord): PSDL_PixelFormat;
 begin
     format:= format;
     exit(@conversionFormat);