gstreamer/gst-libs
Michael Tretter c9d15fec7e glslstage: delete shader on finalize of stage
GLSLstage creates the glShader using glCreateShader, but never calls
glDeleteShader if the glShader is not used anymore. This forces the GL
library to keep the compiled shader around, because it might be used in
the future. Therefore, the glShader is leaked whenever a GLSLStage is
destroyed.

Fix the leak by deleting the glShader when finishing the GLSLStage.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/886>
2020-10-21 15:28:09 +02:00
..
gst glslstage: delete shader on finalize of stage 2020-10-21 15:28:09 +02:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:09:51 +01:00