gl: fixup vao and vbo usage for legacy GL

This commit is contained in:
Matthew Waters 2014-12-11 18:15:02 +11:00
parent b212aca601
commit 85febbbafb

View file

@ -747,9 +747,8 @@ gst_gl_video_mixer_callback (gpointer stuff)
if (gl->GenVertexArrays)
gl->BindVertexArray (0);
else
gl->BindBuffer (GL_ARRAY_BUFFER, 0);
gl->BindBuffer (GL_ARRAY_BUFFER, 0);
gl->BindTexture (GL_TEXTURE_2D, 0);
gl->Disable (GL_BLEND);