[322/906] [download YUY2/UYVY] fix a regression

The call to glLoadIdentity was removed by mistake during
OpenGL ES 2.0 integration.
This commit is contained in:
Julien Isorce 2009-03-18 22:46:56 +01:00 committed by Matthew Waters
parent ec0bb66fe9
commit 1385371e6c

View file

@ -3175,6 +3175,7 @@ gst_gl_display_thread_do_download_draw_yuv (GstGLDisplay * display)
#ifndef OPENGL_ES2
glMatrixMode (GL_PROJECTION);
glLoadIdentity ();
#else
glVertexAttribPointer (display->shader_download_attr_position_loc, 3,
GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vVertices);