diff -r 045e8162c9cd -r 8d41d22a291d hedgewars/SDLh.pas --- 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);