src/video/SDL_sysvideo.h
changeset 1402 d910939febfa
parent 1361 19418e4422cb
child 1536 5151662ab728
     1.1 --- a/src/video/SDL_sysvideo.h	Tue Feb 21 08:34:45 2006 +0000
     1.2 +++ b/src/video/SDL_sysvideo.h	Tue Feb 21 08:46:50 2006 +0000
     1.3 @@ -19,6 +19,7 @@
     1.4      Sam Lantinga
     1.5      slouken@libsdl.org
     1.6  */
     1.7 +#include "SDL_config.h"
     1.8  
     1.9  #ifndef _SDL_sysvideo_h
    1.10  #define _SDL_sysvideo_h
    1.11 @@ -32,17 +33,8 @@
    1.12     This is designed to be easily converted to C++ in the future.
    1.13   */
    1.14  
    1.15 -/* OpenGL is pretty much available on all Windows systems */
    1.16 -#ifdef WIN32
    1.17 -#include "SDL_windows.h"
    1.18 -#endif
    1.19 -
    1.20  #if SDL_VIDEO_OPENGL
    1.21 -#ifdef MACOSX
    1.22 -#include <OpenGL/gl.h>  /* OpenGL.framework */
    1.23 -#else
    1.24 -#include <GL/gl.h>
    1.25 -#endif /* MACOSX */
    1.26 +#include "SDL_opengl.h"
    1.27  #endif /* SDL_VIDEO_OPENGL */
    1.28  
    1.29  /* The SDL video driver */