[vlc-devel] commit: Require a visual since we need one at the next API call ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Feb 24 18:51:50 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Feb 24 19:23:37 2009 +0200| [c6d7fc8b29900c18116fc16f5aad1756b3a9db22] | committer: Rémi Denis-Courmont 

Require a visual since we need one at the next API call

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6d7fc8b29900c18116fc16f5aad1756b3a9db22
---

 modules/video_output/x11/glx.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/x11/glx.c b/modules/video_output/x11/glx.c
index 919fa40..2f9e1cc 100644
--- a/modules/video_output/x11/glx.c
+++ b/modules/video_output/x11/glx.c
@@ -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 */




More information about the vlc-devel mailing list