glimagesink: unset the current shader after rendering
fixes gltestsrc ! glimagesink when gltestsrc doesn't use a shader
This commit is contained in:
parent
5495397c81
commit
2f2470488b
@ -1485,6 +1485,8 @@ gst_glimage_sink_on_draw (GstGLImageSink * gl_sink)
|
||||
|
||||
gl->DrawElements (GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices);
|
||||
|
||||
gst_gl_context_clear_shader (gl_sink->context);
|
||||
|
||||
if (gl->GenVertexArrays)
|
||||
gl->BindVertexArray (0);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user