projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909b69f
)
glimagesink: unset the current shader after rendering
author
Matthew Waters
<matthew@centricular.com>
Tue, 3 Mar 2015 05:48:24 +0000
(16:48 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:57 +0000
(19:31 +0000)
fixes gltestsrc ! glimagesink when gltestsrc doesn't use a shader
ext/gl/gstglimagesink.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglimagesink.c
b/ext/gl/gstglimagesink.c
index
8ea7d46
..
e271b29
100644
(file)
--- a/
ext/gl/gstglimagesink.c
+++ b/
ext/gl/gstglimagesink.c
@@
-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