mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
[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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue