Commit b80df313 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Rémi Denis-Courmont

Get configurations for the screen we do use.

(cherry picked from commit a39cf798)
parent 7b559d76
...@@ -244,7 +244,7 @@ int InitGLX13( vout_thread_t *p_vout ) ...@@ -244,7 +244,7 @@ int InitGLX13( vout_thread_t *p_vout )
}; };
/* Get the FB configuration */ /* 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 ) if( p_fbconfs == NULL )
{ {
msg_Err( p_vout, "Cannot get FB configurations"); msg_Err( p_vout, "Cannot get FB configurations");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment