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

vsxu: make GL context current

parent bc8f690a
......@@ -315,6 +315,7 @@ static void *Thread( void *p_data )
// tell main thread we are ready
vlc_sem_post( &p_sys->ready );
vlc_gl_MakeCurrent( gl );
while ( run )
{
......@@ -392,6 +393,8 @@ static void *Thread( void *p_data )
// delete the intro (if ever allocated)
if (intro) delete intro;
vlc_gl_ReleaseCurrent( gl );
var_DelCallback( p_vout, "fullscreen", VoutCallback, p_vd );
// clean out vlc opengl stuff
......
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