From d5e0d435e40127d76da868a10f58a2468a7463f4 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 19 May 2015 11:11:02 +1000 Subject: [PATCH] glframebuffer: don't clear the framebuffer Breaks attempting to blend with the destination buffer and should be done explicitly by the callback anyway. --- gst-libs/gst/gl/gstglframebuffer.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.7.4