763 function SDL_SaveBMP_RW(surface: PSDL_Surface; dst: PSDL_RWops; freedst: LongInt): LongInt; cdecl; external SDLLibName; |
764 function SDL_SaveBMP_RW(surface: PSDL_Surface; dst: PSDL_RWops; freedst: LongInt): LongInt; cdecl; external SDLLibName; |
764 |
765 |
765 {$IFDEF SDL13} |
766 {$IFDEF SDL13} |
766 function SDL_CreateWindow(title: PChar; x,y,w,h, flags: LongInt): PSDL_Window; cdecl; external SDLLibName; |
767 function SDL_CreateWindow(title: PChar; x,y,w,h, flags: LongInt): PSDL_Window; cdecl; external SDLLibName; |
767 function SDL_CreateRenderer(window: PSDL_Window; index, flags: LongInt): PSDL_Renderer; cdecl; external SDLLibName; |
768 function SDL_CreateRenderer(window: PSDL_Window; index, flags: LongInt): PSDL_Renderer; cdecl; external SDLLibName; |
|
769 function SDL_DestroyWindow(window: PSDL_Window): LongInt; cdecl; external SDLLibName; |
768 function SDL_DestroyRenderer(renderer: PSDL_Renderer): LongInt; cdecl; external SDLLibName; |
770 function SDL_DestroyRenderer(renderer: PSDL_Renderer): LongInt; cdecl; external SDLLibName; |
769 function SDL_DestroyWindow(window: PSDL_Window): LongInt; cdecl; external SDLLibName; |
771 |
|
772 function SDL_GL_CreateContext(window: PSDL_Window): PSDL_GLContext; cdecl; external SDLLibName; |
|
773 procedure SDL_GL_DeleteContext(context: PSDL_GLContext); cdecl; external SDLLibName; |
|
774 function SDL_GL_SwapWindow(window: PSDL_Window): LongInt; cdecl; external SDLLibName; |
770 |
775 |
771 procedure SDL_VideoQuit; cdecl; external SDLLibName; |
776 procedure SDL_VideoQuit; cdecl; external SDLLibName; |
772 function SDL_GetNumVideoDisplays: LongInt; cdecl; external SDLLibName; |
777 function SDL_GetNumVideoDisplays: LongInt; cdecl; external SDLLibName; |
|
778 procedure SDL_ShowWindow(window: PSDL_Window); cdecl; external SDLLibName; |
773 |
779 |
774 function SDL_SetRenderDrawColor(renderer: PSDL_Renderer; r,g,b,a: byte): LongInt; cdecl; external SDLLibName; |
780 function SDL_SetRenderDrawColor(renderer: PSDL_Renderer; r,g,b,a: byte): LongInt; cdecl; external SDLLibName; |
775 function SDL_GetRenderer(window: PSDL_Window): PSDL_Renderer; cdecl; external SDLLibName; |
781 function SDL_GetRenderer(window: PSDL_Window): PSDL_Renderer; cdecl; external SDLLibName; |
776 function SDL_RenderFillRect(renderer: PSDL_Renderer; rect: PSDL_Rect): LongInt; cdecl; external SDLLibName; |
782 function SDL_RenderFillRect(renderer: PSDL_Renderer; rect: PSDL_Rect): LongInt; cdecl; external SDLLibName; |
777 function SDL_RenderClear(renderer: PSDL_Renderer): LongInt; cdecl; external SDLLibName; |
783 function SDL_RenderClear(renderer: PSDL_Renderer): LongInt; cdecl; external SDLLibName; |