mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +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
ec0bb66fe9
commit
1385371e6c
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
|
||||
glMatrixMode (GL_PROJECTION);
|
||||
glLoadIdentity ();
|
||||
#else
|
||||
glVertexAttribPointer (display->shader_download_attr_position_loc, 3,
|
||||
GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vVertices);
|
||||
|
|
Loading…
Reference in a new issue