src/video/x11/SDL_x11opengl.c
changeset 6044 35448a5ea044
parent 5981 75caa8a7d559
child 6138 4c64952a58fb
equal deleted inserted replaced
6043:46d78e48ae8b 6044:35448a5ea044
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
       
    22 
       
    23 #if SDL_VIDEO_DRIVER_X11
       
    24 
    22 #include "SDL_x11video.h"
    25 #include "SDL_x11video.h"
    23 #include "SDL_assert.h"
    26 #include "SDL_assert.h"
    24 
    27 
    25 /* GLX implementation of SDL OpenGL support */
    28 /* GLX implementation of SDL OpenGL support */
    26 
    29 
   608     XSync(display, False);
   611     XSync(display, False);
   609 }
   612 }
   610 
   613 
   611 #endif /* SDL_VIDEO_OPENGL_GLX */
   614 #endif /* SDL_VIDEO_OPENGL_GLX */
   612 
   615 
       
   616 #endif /* SDL_VIDEO_DRIVER_X11 */
       
   617 
   613 /* vi: set ts=4 sw=4 expandtab: */
   618 /* vi: set ts=4 sw=4 expandtab: */