From: Matthew Waters Date: Tue, 19 May 2015 01:11:02 +0000 (+1000) Subject: glframebuffer: don't clear the framebuffer X-Git-Tag: 1.19.3~511^2~1989^2~870 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5e0d435e40127d76da868a10f58a2468a7463f4;p=platform%2Fupstream%2Fgstreamer.git glframebuffer: don't clear the framebuffer Breaks attempting to blend with the destination buffer and should be done explicitly by the callback anyway. --- diff --git a/gst-libs/gst/gl/gstglframebuffer.c b/gst-libs/gst/gl/gstglframebuffer.c index 0446c00..34b32b1 100644 --- 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);