equal
deleted
inserted
replaced
33 #include "SDL_x11video.h" |
33 #include "SDL_x11video.h" |
34 #include "SDL_x11dga_c.h" |
34 #include "SDL_x11dga_c.h" |
35 #include "SDL_x11gl_c.h" |
35 #include "SDL_x11gl_c.h" |
36 |
36 |
37 #define DEFAULT_OPENGL "libGL.so.1" |
37 #define DEFAULT_OPENGL "libGL.so.1" |
|
38 |
|
39 #ifndef GLX_ARB_multisample |
|
40 #define GLX_ARB_multisample |
|
41 #define GLX_SAMPLE_BUFFERS_ARB 100000 |
|
42 #define GLX_SAMPLES_ARB 100001 |
|
43 #endif |
38 |
44 |
39 /* return the preferred visual to use for openGL graphics */ |
45 /* return the preferred visual to use for openGL graphics */ |
40 XVisualInfo *X11_GL_GetVisual(_THIS) |
46 XVisualInfo *X11_GL_GetVisual(_THIS) |
41 { |
47 { |
42 #ifdef HAVE_OPENGL |
48 #ifdef HAVE_OPENGL |