src/video/SDL_sysvideo.h
branchSDL-1.3
changeset 1712 931d111e737a
parent 1706 1577404809f0
child 1720 a1ebb17f9c52
     1.1 --- a/src/video/SDL_sysvideo.h	Mon Jun 26 05:27:34 2006 +0000
     1.2 +++ b/src/video/SDL_sysvideo.h	Mon Jun 26 13:56:56 2006 +0000
     1.3 @@ -29,14 +29,6 @@
     1.4  #include "SDL_syswm.h"
     1.5  #undef SDL_PROTOTYPES_ONLY
     1.6  
     1.7 -/* This file prototypes the video driver implementation.
     1.8 -   This is designed to be easily converted to C++ in the future.
     1.9 - */
    1.10 -
    1.11 -#if SDL_VIDEO_OPENGL
    1.12 -#include "SDL_opengl.h"
    1.13 -#endif /* SDL_VIDEO_OPENGL */
    1.14 -
    1.15  /* The SDL video driver */
    1.16  
    1.17  typedef struct SDL_Window SDL_Window;
    1.18 @@ -256,21 +248,6 @@
    1.19      /* Swap the current buffers in double buffer mode. */
    1.20      void (*GL_SwapBuffers) (_THIS);
    1.21  
    1.22 -    /* OpenGL functions for glSDL */
    1.23 -#if SDL_VIDEO_OPENGL
    1.24 -#if !defined(__WIN32__)
    1.25 -#define WINAPI
    1.26 -#endif
    1.27 -#define SDL_PROC(ret,func,params) ret (WINAPI *func) params;
    1.28 -#include "SDL_glfuncs.h"
    1.29 -#undef SDL_PROC
    1.30 -
    1.31 -    /* Texture id */
    1.32 -    GLuint texture;
    1.33 -
    1.34 -    int is_32bit;
    1.35 -#endif
    1.36 -
    1.37      /* Determine whether the mouse should be in relative mode or not.
    1.38         This function is called when the input grab state or cursor
    1.39         visibility state changes.
    1.40 @@ -330,7 +307,6 @@
    1.41      /* The function used to dispose of this structure */
    1.42      void (*free) (_THIS);
    1.43  };
    1.44 -#undef _THIS
    1.45  
    1.46  typedef struct VideoBootStrap
    1.47  {
    1.48 @@ -382,11 +358,8 @@
    1.49  #if SDL_VIDEO_DRIVER_GAPI
    1.50  extern VideoBootStrap GAPI_bootstrap;
    1.51  #endif
    1.52 -#if SDL_VIDEO_DRIVER_WINDIB
    1.53 -extern VideoBootStrap WINDIB_bootstrap;
    1.54 -#endif
    1.55 -#if SDL_VIDEO_DRIVER_DDRAW
    1.56 -extern VideoBootStrap DIRECTX_bootstrap;
    1.57 +#if SDL_VIDEO_DRIVER_WIN32
    1.58 +extern VideoBootStrap WIN32_bootstrap;
    1.59  #endif
    1.60  #if SDL_VIDEO_DRIVER_BWINDOW
    1.61  extern VideoBootStrap BWINDOW_bootstrap;