src/video/x11/SDL_x11opengl.c
changeset 5573 7dd4caf23bf5
parent 5572 32a785da3f49
child 5630 39e74dab5ebb
equal deleted inserted replaced
5572:32a785da3f49 5573:7dd4caf23bf5
    61 #define GLX_CONTEXT_MAJOR_VERSION_ARB      0x2091
    61 #define GLX_CONTEXT_MAJOR_VERSION_ARB      0x2091
    62 #define GLX_CONTEXT_MINOR_VERSION_ARB      0x2092
    62 #define GLX_CONTEXT_MINOR_VERSION_ARB      0x2092
    63 #define GLX_CONTEXT_FLAGS_ARB              0x2094
    63 #define GLX_CONTEXT_FLAGS_ARB              0x2094
    64 #define GLX_CONTEXT_DEBUG_BIT_ARB          0x0001
    64 #define GLX_CONTEXT_DEBUG_BIT_ARB          0x0001
    65 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
    65 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
       
    66 
       
    67 #ifndef GLX_EXT_swap_control
       
    68 #define GLX_SWAP_INTERVAL_EXT              0x20F1
       
    69 #define GLX_MAX_SWAP_INTERVAL_EXT          0x20F2
       
    70 #endif
    66 
    71 
    67 /* Typedef for the GL 3.0 context creation function */
    72 /* Typedef for the GL 3.0 context creation function */
    68 typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
    73 typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
    69                                                         GLXFBConfig config,
    74                                                         GLXFBConfig config,
    70                                                         GLXContext
    75                                                         GLXContext