hedgewars/SDLh.pas
changeset 3598 a8aa06bae895
parent 3463 23c50be687a9
child 3663 8c28abf427f5
equal deleted inserted replaced
3597:978c30ef50fc 3598:a8aa06bae895
   703 
   703 
   704 {$IFDEF SDL13}
   704 {$IFDEF SDL13}
   705 function  SDL_CreateWindow(title: PChar; x,y,w,h, flags: LongInt): PSDL_Window; cdecl; external SDLLibName;      
   705 function  SDL_CreateWindow(title: PChar; x,y,w,h, flags: LongInt): PSDL_Window; cdecl; external SDLLibName;      
   706 function  SDL_CreateRenderer(window: PSDL_Window; index, flags: LongInt): LongInt; cdecl; external SDLLibName;   
   706 function  SDL_CreateRenderer(window: PSDL_Window; index, flags: LongInt): LongInt; cdecl; external SDLLibName;   
   707 function  SDL_SetRenderDrawColor(r,g,b,a: byte): LongInt; cdecl; external SDLLibName;
   707 function  SDL_SetRenderDrawColor(r,g,b,a: byte): LongInt; cdecl; external SDLLibName;
       
   708 function  SDL_DestroyRenderer(window: PSDL_Window): LongInt; cdecl; external SDLLibName;
       
   709 function  SDL_DestroyWindow(window: PSDL_Window): LongInt; cdecl; external SDLLibName;
   708 
   710 
   709 function  SDL_RenderFill(rect: PSDL_Rect): LongInt;
   711 function  SDL_RenderFill(rect: PSDL_Rect): LongInt;
   710 function  SDL_RenderFillRect(rect: PSDL_Rect): LongInt; cdecl; external SDLLibName;
   712 function  SDL_RenderFillRect(rect: PSDL_Rect): LongInt; cdecl; external SDLLibName;
   711 function  SDL_RenderClear: LongInt; cdecl; external SDLLibName;
   713 function  SDL_RenderClear: LongInt; cdecl; external SDLLibName;
   712 procedure SDL_RenderPresent; cdecl; external SDLLibName;
   714 procedure SDL_RenderPresent; cdecl; external SDLLibName;