From ad8b227ff77f17f5779b84484a08f0d28222f591 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Wed, 18 Mar 2009 22:46:56 +0100 Subject: [PATCH] [322/906] [download YUY2/UYVY] fix a regression The call to glLoadIdentity was removed by mistake during OpenGL ES 2.0 integration. --- gst-libs/gst/gl/gstgldisplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c index 42f3abfdb9..dc63459887 100644 --- a/gst-libs/gst/gl/gstgldisplay.c +++ b/gst-libs/gst/gl/gstgldisplay.c @@ -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);