diff src/video/SDL_sysvideo.h @ 1924:69217fdd2c0a

If the OpenGL renderer is selected for a non-OpenGL window, recreate the window with OpenGL enabled. Added OpenGL renderer error checking. Use fast-path texture formats in the OpenGL renderer.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 22 Jul 2006 21:02:57 +0000
parents d4572b97b08f
children 861bc36f0ab3
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sat Jul 22 19:51:48 2006 +0000
+++ b/src/video/SDL_sysvideo.h	Sat Jul 22 21:02:57 2006 +0000
@@ -397,6 +397,7 @@
 extern void SDL_AddRenderDriver(int displayIndex,
                                 const SDL_RenderDriver * driver);
 
+extern int SDL_RecreateWindow(SDL_Window * window);
 extern SDL_Window *SDL_GetWindowFromID(SDL_WindowID windowID);
 extern SDL_VideoDisplay *SDL_GetDisplayFromWindow(SDL_Window * window);