src/video/x11/SDL_x11gl.c
changeset 667 adbed8d7a991
parent 656 864e2d2a9a55
child 769 b8d311d90021
equal deleted inserted replaced
666:fbec2501cf9f 667:adbed8d7a991
    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