Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
e2614dd4 by Pierre Lamot at 2022-05-25T13:15:40+00:00
vgl: fix swap callback called without current context

fix regression from 9b7514f9da462e52534f4cffa64e8db0a209d7f6

- - - - -


1 changed file:

- modules/video_output/vgl.c


Changes:

=====================================
modules/video_output/vgl.c
=====================================
@@ -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)



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/e2614dd479a9b070c1f04e6c9e861c001d78bb8f

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/e2614dd479a9b070c1f04e6c9e861c001d78bb8f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to