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

Get configurations for the screen we do use.

parent c6d7fc8b
......@@ -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");
......
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