]> git.sesse.net Git - vlc/commitdiff
Get configurations for the screen we do use.
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 24 Feb 2009 17:39:40 +0000 (19:39 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 24 Feb 2009 17:39:40 +0000 (19:39 +0200)
modules/video_output/x11/glx.c

index 2f9e1cc46d0d97fe011624917f3d69f16123b466..a138fec229eab89c3e2b799892047eba6decc225 100644 (file)
@@ -244,7 +244,7 @@ int InitGLX13( vout_thread_t *p_vout )
     };
 
     /* Get the FB configuration */
-    p_fbconfs = glXChooseFBConfig( p_sys->p_display, 0, p_attr, &i_nbelem );
+    p_fbconfs = glXChooseFBConfig( p_sys->p_display, p_sys->i_screen, p_attr, &i_nbelem );
     if( p_fbconfs == NULL )
     {
         msg_Err( p_vout, "Cannot get FB configurations");