src/video/x11/SDL_x11opengl.h
changeset 6570 45855398762c
parent 6382 64d54101773a
child 6846 97eb26e2dee0
equal deleted inserted replaced
6569:1f4e69a8e5e6 6570:45855398762c
    28 #include <GL/glx.h>
    28 #include <GL/glx.h>
    29 
    29 
    30 struct SDL_GLDriverData
    30 struct SDL_GLDriverData
    31 {
    31 {
    32     SDL_bool HAS_GLX_EXT_visual_rating;
    32     SDL_bool HAS_GLX_EXT_visual_rating;
       
    33     SDL_bool HAS_GLX_EXT_visual_info;
    33     SDL_bool HAS_GLX_EXT_swap_control_tear;
    34     SDL_bool HAS_GLX_EXT_swap_control_tear;
    34 
    35 
    35     void *(*glXGetProcAddress) (const GLubyte*);
    36     void *(*glXGetProcAddress) (const GLubyte*);
    36     XVisualInfo *(*glXChooseVisual) (Display*,int,int*);
    37     XVisualInfo *(*glXChooseVisual) (Display*,int,int*);
    37     GLXContext (*glXCreateContext) (Display*,XVisualInfo*,GLXContext,Bool);
    38     GLXContext (*glXCreateContext) (Display*,XVisualInfo*,GLXContext,Bool);