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:
92537b1
)
glmemory: reset the draw buffer to GL_BACK
author
Hyunjun Ko
<zzoon@igalia.com>
Wed, 28 Jun 2017 03:17:37 +0000
(12:17 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:29 +0000
(19:32 +0000)
The draw buffer should be reset to GL_BACK since the framebuffer is already
unbound.
https://bugzilla.gnome.org/show_bug.cgi?id=784210
gst-libs/gst/gl/gstglmemory.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglmemory.c
b/gst-libs/gst/gl/gstglmemory.c
index
02848f0
..
5b4c91f
100644
(file)
--- a/
gst-libs/gst/gl/gstglmemory.c
+++ b/
gst-libs/gst/gl/gstglmemory.c
@@
-746,7
+746,7
@@
gst_gl_memory_copy_teximage (GstGLMemory * src, guint tex_id,
gl->DeleteFramebuffers (n_fbos, &fbo[0]);
if (gl->DrawBuffer)
- gl->DrawBuffer (GL_
NONE
);
+ gl->DrawBuffer (GL_
BACK
);
}
gst_memory_unmap (GST_MEMORY_CAST (src), &sinfo);