Commit 384c3ce1 authored by Thomas Guillem's avatar Thomas Guillem

projectm: ensure that the GL context is attached

parent 09afe262
......@@ -280,7 +280,11 @@ static void *Thread( void *p_data )
projectM::Settings settings;
#endif
vlc_gl_MakeCurrent( gl );
if( vlc_gl_MakeCurrent( gl ) != VLC_SUCCESS )
{
msg_Err( p_filter, "Can't attach gl context" );
return NULL;
}
/* Work-around the projectM locale bug */
loc = newlocale (LC_NUMERIC_MASK, "C", NULL);
......
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