hedgewars/SDLh.pas
branchhedgeroid
changeset 5725 e27100a0e2d0
parent 5577 272c82f82cee
parent 5670 e01f0b6f1969
child 5824 2e5835130d9a
--- a/hedgewars/SDLh.pas	Thu Sep 01 14:55:31 2011 +0200
+++ b/hedgewars/SDLh.pas	Thu Sep 01 17:03:19 2011 +0200
@@ -224,7 +224,7 @@
     SDL_JOYBUTTONDOWN   = 10;
     SDL_JOYBUTTONUP     = 11;
     SDL_QUITEV          = 12;
-    SDL_VIDEORESIZE     = 16; // TODO: outdated? no longer in SDL 1.3?
+    SDL_VIDEORESIZE     = 16;
 
     // SDL_Surface flags
     SDL_SWSURFACE   = $00000000;
@@ -638,7 +638,7 @@
             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
             SDL_QUITEV: (quit: TSDL_QuitEvent);
             //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB
-            //SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent);
+            SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent);
 {$ENDIF}
         end;
 
@@ -881,12 +881,6 @@
 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
 procedure SDL_FreeFormat(pixelformat: PSDL_PixelFormat); {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
 
-{* OpenGL *}
-{$IFDEF DARWIN}
-function CGLGetCurrentContext(): Pointer; cdecl; external 'OpenGL';
-procedure CGLSetParameter(context: Pointer; option: LongInt; value: Pointer); cdecl; external 'OpenGL';
-{$ENDIF}
-
 (*  SDL_ttf  *)
 function  TTF_Init: LongInt; cdecl; external SDL_TTFLibName;
 procedure TTF_Quit; cdecl; external SDL_TTFLibName;