mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
eglglessink: There are only two GLSL programs, not three
This commit is contained in:
parent
0931724767
commit
bd8963f591
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ gst_eglglessink_wipe_eglglesctx (GstEglGlesSink * eglglessink)
|
|||
eglglessink->eglglesctx.n_textures = 0;
|
||||
}
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (i = 0; i < 2; i++) {
|
||||
if (eglglessink->eglglesctx.glslprogram[i]) {
|
||||
glDetachShader (eglglessink->eglglesctx.glslprogram[i],
|
||||
eglglessink->eglglesctx.fragshader[i]);
|
||||
|
|
Loading…
Reference in a new issue