eglglessink: There are only two GLSL programs, not three

This commit is contained in:
Sebastian Dröge 2013-03-07 11:58:25 +01:00
parent 0931724767
commit bd8963f591

View file

@ -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]);