equal
deleted
inserted
replaced
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); |