[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
Sun Mar 1 10:47:44 CET 2009


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

Require a visual since we need one at the next API call
(cherry picked from commit c6d7fc8b29900c18116fc16f5aad1756b3a9db22)

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

 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 03a4963..e58d9ec 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