[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:
parent
61a8f34442
commit
ad8b227ff7
@ -3175,6 +3175,7 @@ gst_gl_display_thread_do_download_draw_yuv (GstGLDisplay * display)
|
|||||||
|
|
||||||
#ifndef OPENGL_ES2
|
#ifndef OPENGL_ES2
|
||||||
glMatrixMode (GL_PROJECTION);
|
glMatrixMode (GL_PROJECTION);
|
||||||
|
glLoadIdentity ();
|
||||||
#else
|
#else
|
||||||
glVertexAttribPointer (display->shader_download_attr_position_loc, 3,
|
glVertexAttribPointer (display->shader_download_attr_position_loc, 3,
|
||||||
GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vVertices);
|
GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vVertices);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user