[vlc-commits] opengl: disable the enabled window before deleting it
Steve Lhomme
git at videolan.org
Mon Nov 9 15:30:51 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Nov 6 08:25:16 2020 +0100| [f348f44e4e4353d9c2b60afbd5bc4fe5fbe99bfb] | committer: Steve Lhomme
opengl: disable the enabled window before deleting it
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f348f44e4e4353d9c2b60afbd5bc4fe5fbe99bfb
---
src/video_output/opengl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video_output/opengl.c b/src/video_output/opengl.c
index e5aa450888..ce127b8b3a 100644
--- a/src/video_output/opengl.c
+++ b/src/video_output/opengl.c
@@ -180,6 +180,7 @@ vlc_gl_t *vlc_gl_surface_Create(vlc_object_t *obj,
vlc_gl_t *gl = vlc_gl_Create(&dcfg, VLC_OPENGL, NULL);
if (gl == NULL) {
+ vout_window_Disable(surface);
vout_window_Delete(surface);
goto error;
}
More information about the vlc-commits
mailing list