src/video/x11/SDL_x11opengl.h
changeset 12201 8bdc4d340419
parent 11811 5d94cb6b24d3
child 12503 806492103856
equal deleted inserted replaced
12200:c0b17b32b95e 12201:8bdc4d340419
    36     SDL_bool HAS_GLX_EXT_swap_control_tear;
    36     SDL_bool HAS_GLX_EXT_swap_control_tear;
    37     SDL_bool HAS_GLX_ARB_context_flush_control;
    37     SDL_bool HAS_GLX_ARB_context_flush_control;
    38     SDL_bool HAS_GLX_ARB_create_context_robustness;
    38     SDL_bool HAS_GLX_ARB_create_context_robustness;
    39     SDL_bool HAS_GLX_ARB_create_context_no_error;
    39     SDL_bool HAS_GLX_ARB_create_context_no_error;
    40 
    40 
    41 	/* Max version of OpenGL ES context that can be created if the
    41     /* Max version of OpenGL ES context that can be created if the
    42 	   implementation supports GLX_EXT_create_context_es2_profile.
    42        implementation supports GLX_EXT_create_context_es2_profile.
    43 	   major = minor = 0 when unsupported.
    43        major = minor = 0 when unsupported.
    44 	 */
    44      */
    45 	struct {
    45     struct {
    46 		int major;
    46         int major;
    47 		int minor;
    47         int minor;
    48 	} es_profile_max_supported_version;
    48     } es_profile_max_supported_version;
    49 
    49 
    50     Bool (*glXQueryExtension) (Display*,int*,int*);
    50     Bool (*glXQueryExtension) (Display*,int*,int*);
    51     void *(*glXGetProcAddress) (const GLubyte*);
    51     void *(*glXGetProcAddress) (const GLubyte*);
    52     XVisualInfo *(*glXChooseVisual) (Display*,int,int*);
    52     XVisualInfo *(*glXChooseVisual) (Display*,int,int*);
    53     GLXContext (*glXCreateContext) (Display*,XVisualInfo*,GLXContext,Bool);
    53     GLXContext (*glXCreateContext) (Display*,XVisualInfo*,GLXContext,Bool);