François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
69815da4 by Pierre Lamot at 2023-11-17T18:11:50+00:00
opengl: sub_renderer: release GL program in destructor

- - - - -


1 changed file:

- modules/video_output/opengl/sub_renderer.c


Changes:

=====================================
modules/video_output/opengl/sub_renderer.c
=====================================
@@ -216,6 +216,9 @@ vlc_gl_sub_renderer_Delete(struct vlc_gl_sub_renderer *sr)
     }
     free(sr->regions);
 
+    assert(sr->program_id);
+    sr->vt->DeleteProgram(sr->program_id);
+
     free(sr);
 }
 



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to