Skip to content
Snippets Groups Projects
Commit e2614dd4 authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf
Browse files

vgl: fix swap callback called without current context

fix regression from 9b7514f9
parent e08c1dfb
No related branches found
No related tags found
1 merge request!1973vgl: fix swap callback called without current context
Pipeline #224546 passed with stage
in 20 minutes and 44 seconds
......@@ -75,7 +75,9 @@ static void ReleaseCurrent(vlc_gl_t *gl)
static void VglSwapBuffers(vlc_gl_t *gl)
{
vout_display_sys_t *sys = gl->sys;
MakeCurrent(gl);
sys->swapCb(sys->opaque);
ReleaseCurrent(gl);
}
static void Resize(vlc_gl_t * gl, unsigned w, unsigned h)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment