diff src/video/SDL_sysvideo.h @ 1712:931d111e737a SDL-1.3

Started framework for Windows video driver
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 13:56:56 +0000
parents 1577404809f0
children a1ebb17f9c52
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Mon Jun 26 05:27:34 2006 +0000
+++ b/src/video/SDL_sysvideo.h	Mon Jun 26 13:56:56 2006 +0000
@@ -29,14 +29,6 @@
 #include "SDL_syswm.h"
 #undef SDL_PROTOTYPES_ONLY
 
-/* This file prototypes the video driver implementation.
-   This is designed to be easily converted to C++ in the future.
- */
-
-#if SDL_VIDEO_OPENGL
-#include "SDL_opengl.h"
-#endif /* SDL_VIDEO_OPENGL */
-
 /* The SDL video driver */
 
 typedef struct SDL_Window SDL_Window;
@@ -256,21 +248,6 @@
     /* Swap the current buffers in double buffer mode. */
     void (*GL_SwapBuffers) (_THIS);
 
-    /* OpenGL functions for glSDL */
-#if SDL_VIDEO_OPENGL
-#if !defined(__WIN32__)
-#define WINAPI
-#endif
-#define SDL_PROC(ret,func,params) ret (WINAPI *func) params;
-#include "SDL_glfuncs.h"
-#undef SDL_PROC
-
-    /* Texture id */
-    GLuint texture;
-
-    int is_32bit;
-#endif
-
     /* Determine whether the mouse should be in relative mode or not.
        This function is called when the input grab state or cursor
        visibility state changes.
@@ -330,7 +307,6 @@
     /* The function used to dispose of this structure */
     void (*free) (_THIS);
 };
-#undef _THIS
 
 typedef struct VideoBootStrap
 {
@@ -382,11 +358,8 @@
 #if SDL_VIDEO_DRIVER_GAPI
 extern VideoBootStrap GAPI_bootstrap;
 #endif
-#if SDL_VIDEO_DRIVER_WINDIB
-extern VideoBootStrap WINDIB_bootstrap;
-#endif
-#if SDL_VIDEO_DRIVER_DDRAW
-extern VideoBootStrap DIRECTX_bootstrap;
+#if SDL_VIDEO_DRIVER_WIN32
+extern VideoBootStrap WIN32_bootstrap;
 #endif
 #if SDL_VIDEO_DRIVER_BWINDOW
 extern VideoBootStrap BWINDOW_bootstrap;