hedgewars/SDLh.pas
changeset 3598 a8aa06bae895
parent 3463 23c50be687a9
child 3663 8c28abf427f5
--- a/hedgewars/SDLh.pas	Wed Jun 30 22:20:52 2010 +0200
+++ b/hedgewars/SDLh.pas	Wed Jun 30 22:42:55 2010 +0200
@@ -705,6 +705,8 @@
 function  SDL_CreateWindow(title: PChar; x,y,w,h, flags: LongInt): PSDL_Window; cdecl; external SDLLibName;      
 function  SDL_CreateRenderer(window: PSDL_Window; index, flags: LongInt): LongInt; cdecl; external SDLLibName;   
 function  SDL_SetRenderDrawColor(r,g,b,a: byte): LongInt; cdecl; external SDLLibName;
+function  SDL_DestroyRenderer(window: PSDL_Window): LongInt; cdecl; external SDLLibName;
+function  SDL_DestroyWindow(window: PSDL_Window): LongInt; cdecl; external SDLLibName;
 
 function  SDL_RenderFill(rect: PSDL_Rect): LongInt;
 function  SDL_RenderFillRect(rect: PSDL_Rect): LongInt; cdecl; external SDLLibName;