[vlc-devel] commit: Get configurations for the screen we do use. ( 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:39:40 2009 +0200| [b80df31345616ea5e9a7f45508b5db98ce9023f4] | committer: Rémi Denis-Courmont
Get configurations for the screen we do use.
(cherry picked from commit a39cf798c25f9bfd9395bdd334cbb603b850e001)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b80df31345616ea5e9a7f45508b5db98ce9023f4
---
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 e58d9ec..361f52e 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