[vlc-commits] [Git][videolan/vlc][master] vgl: fix swap callback called without current context
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Wed May 25 13:35:16 UTC 2022
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
More information about the vlc-commits
mailing list