projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a275c7
)
glframebuffer: don't clear the framebuffer
author
Matthew Waters
<matthew@centricular.com>
Tue, 19 May 2015 01:11:02 +0000
(11:11 +1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:01 +0000
(19:32 +0000)
Breaks attempting to blend with the destination buffer and should be done
explicitly by the callback anyway.
gst-libs/gst/gl/gstglframebuffer.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglframebuffer.c
b/gst-libs/gst/gl/gstglframebuffer.c
index
0446c00
..
34b32b1
100644
(file)
--- a/
gst-libs/gst/gl/gstglframebuffer.c
+++ b/
gst-libs/gst/gl/gstglframebuffer.c
@@
-201,9
+201,6
@@
gst_gl_framebuffer_use_v2 (GstGLFramebuffer * frame, gint texture_fbo_width,
GST_GL_API_OPENGL3))
gl->DrawBuffer (GL_COLOR_ATTACHMENT0);
- gl->ClearColor (0.0, 0.0, 0.0, 0.0);
- gl->Clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
-
/* the opengl scene */
cb (stuff);