# HG changeset patch # User sheepluva # Date 1461452040 -7200 # Node ID 24710123beaed70f9747cc02efbe81024fc7cfff # Parent a2e86a867fb579973cde892532fcd4f8e97e06ca drop function that does not exist in SDL2 from SDLh.pas diff -r a2e86a867fb5 -r 24710123beae hedgewars/SDLh.pas --- a/hedgewars/SDLh.pas Sat Apr 23 17:03:38 2016 -0400 +++ b/hedgewars/SDLh.pas Sun Apr 24 00:54:00 2016 +0200 @@ -1047,7 +1047,6 @@ function SDL_GetError: PChar; cdecl; external SDLLibName; -function SDL_SetVideoMode(width, height, bpp: LongInt; flags: LongWord): PSDL_Surface; cdecl; external SDLLibName; function SDL_CreateRGBSurface(flags: LongWord; Width, Height, Depth: LongInt; RMask, GMask, BMask, AMask: LongWord): PSDL_Surface; cdecl; external SDLLibName; function SDL_CreateRGBSurfaceFrom(pixels: Pointer; width, height, depth, pitch: LongInt; RMask, GMask, BMask, AMask: LongWord): PSDL_Surface; cdecl; external SDLLibName; procedure SDL_FreeSurface(Surface: PSDL_Surface); cdecl; external SDLLibName;