src/video/x11/SDL_x11opengl.c
changeset 5573 7dd4caf23bf5
parent 5572 32a785da3f49
child 5630 39e74dab5ebb
     1.1 --- a/src/video/x11/SDL_x11opengl.c	Mon Jul 18 14:34:19 2011 -0700
     1.2 +++ b/src/video/x11/SDL_x11opengl.c	Mon Jul 18 14:55:24 2011 -0700
     1.3 @@ -64,6 +64,11 @@
     1.4  #define GLX_CONTEXT_DEBUG_BIT_ARB          0x0001
     1.5  #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
     1.6  
     1.7 +#ifndef GLX_EXT_swap_control
     1.8 +#define GLX_SWAP_INTERVAL_EXT              0x20F1
     1.9 +#define GLX_MAX_SWAP_INTERVAL_EXT          0x20F2
    1.10 +#endif
    1.11 +
    1.12  /* Typedef for the GL 3.0 context creation function */
    1.13  typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
    1.14                                                          GLXFBConfig config,