Commit 943a50ae authored by Thomas Guillem's avatar Thomas Guillem

vsxu: ensure that the GL context is attached

parent 384c3ce1
...@@ -248,7 +248,11 @@ static void *Thread( void *p_data ) ...@@ -248,7 +248,11 @@ static void *Thread( void *p_data )
bool run = true; bool run = true;
// tell main thread we are ready // tell main thread we are ready
vlc_gl_MakeCurrent( gl ); if( vlc_gl_MakeCurrent( gl ) != VLC_SUCCESS )
{
msg_Err( p_filter, "Can't attach gl context" );
return NULL;
}
while ( run ) while ( run )
{ {
......
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