include/SDL_config_windows.h
changeset 5088 455bc74f7034
parent 5086 c2539ff054c8
child 5137 e594f07297a9
     1.1 --- a/include/SDL_config_windows.h	Mon Jan 24 16:10:13 2011 -0800
     1.2 +++ b/include/SDL_config_windows.h	Mon Jan 24 17:38:18 2011 -0800
     1.3 @@ -179,18 +179,30 @@
     1.4  #define SDL_VIDEO_DRIVER_WINDOWS	1
     1.5  
     1.6  #ifdef _WIN32_WCE
     1.7 +#ifndef SDL_VIDEO_RENDER_GAPI
     1.8  #define SDL_VIDEO_RENDER_GAPI	1
     1.9 +#endif
    1.10  #else
    1.11 +#ifndef SDL_VIDEO_RENDER_D3D
    1.12  #define SDL_VIDEO_RENDER_D3D	1
    1.13  #endif
    1.14 +#endif
    1.15 +#ifndef SDL_VIDEO_RENDER_GDI
    1.16  #define SDL_VIDEO_RENDER_GDI	1
    1.17 +#endif
    1.18  
    1.19  /* Enable OpenGL support */
    1.20  #ifndef _WIN32_WCE
    1.21 +#ifndef SDL_VIDEO_OPENGL
    1.22  #define SDL_VIDEO_OPENGL	1
    1.23 +#endif
    1.24 +#ifndef SDL_VIDEO_OPENGL_WGL
    1.25  #define SDL_VIDEO_OPENGL_WGL	1
    1.26 +#endif
    1.27 +#ifndef SDL_VIDEO_RENDER_OGL
    1.28  #define SDL_VIDEO_RENDER_OGL	1
    1.29  #endif
    1.30 +#endif
    1.31  
    1.32  /* Enable system power support */
    1.33  #define SDL_POWER_WINDOWS 1