[vlc-devel] commit: Get configurations for the screen we do use. ( 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:39:40 2009 +0200| [a39cf798c25f9bfd9395bdd334cbb603b850e001] | committer: Rémi Denis-Courmont
Get configurations for the screen we do use.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a39cf798c25f9bfd9395bdd334cbb603b850e001
---
modules/video_output/x11/glx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_output/x11/glx.c b/modules/video_output/x11/glx.c
index 2f9e1cc..a138fec 100644
--- a/modules/video_output/x11/glx.c
+++ b/modules/video_output/x11/glx.c
@@ -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");
More information about the vlc-devel
mailing list