Require a visual since we need one at the next API call
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 24 Feb 2009 17:23:37 +0000 (19:23 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 24 Feb 2009 17:23:37 +0000 (19:23 +0200)
modules/video_output/x11/glx.c

index 919fa40..2f9e1cc 100644 (file)
@@ -238,7 +238,9 @@ int InitGLX13( vout_thread_t *p_vout )
     XVisualInfo *p_vi;
     static const int p_attr[] = {
         GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5, GLX_BLUE_SIZE, 5,
-        GLX_DOUBLEBUFFER, True, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, None,
+        GLX_DOUBLEBUFFER, True, GLX_X_RENDERABLE, True,
+        GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT,
+        None,
     };
 
     /* Get the FB configuration */