[322/906] [download YUY2/UYVY] fix a regression
authorJulien Isorce <julien.isorce@gmail.com>
Wed, 18 Mar 2009 21:46:56 +0000 (22:46 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:21 +0000 (19:31 +0000)
The call to glLoadIdentity was removed by mistake during
OpenGL ES 2.0 integration.

gst-libs/gst/gl/gstgldisplay.c

index 42f3abf..dc63459 100644 (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);