mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
glframebuffer: don't clear the framebuffer
Breaks attempting to blend with the destination buffer and should be done explicitly by the callback anyway.
This commit is contained in:
parent
ddc4f1ffbd
commit
2352545bee
1 changed files with 0 additions and 3 deletions
|
@ -201,9 +201,6 @@ gst_gl_framebuffer_use_v2 (GstGLFramebuffer * frame, gint texture_fbo_width,
|
||||||
GST_GL_API_OPENGL3))
|
GST_GL_API_OPENGL3))
|
||||||
gl->DrawBuffer (GL_COLOR_ATTACHMENT0);
|
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 */
|
/* the opengl scene */
|
||||||
cb (stuff);
|
cb (stuff);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue