projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27aef1
)
[148/906] Fix rgb issue. Current program should always be set to 0 when a new texture...
author
Filippo Argiolas
<filippo.argiolas@gmail.com>
Mon, 11 Aug 2008 15:17:22 +0000
(17:17 +0200)
committer
Matthew Waters
<ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:23 +0000
(18:36 +0100)
gst-libs/gst/gl/gstgldisplay.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstgldisplay.c
b/gst-libs/gst/gl/gstgldisplay.c
index
6cf6323
..
846b76f
100644
(file)
--- a/
gst-libs/gst/gl/gstgldisplay.c
+++ b/
gst-libs/gst/gl/gstgldisplay.c
@@
-2398,6
+2398,9
@@
gst_gl_display_thread_do_upload_draw (GstGLDisplay *display)
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT,
GL_TEXTURE_RECTANGLE_ARB, display->upload_outtex, 0);
+ if (GLEW_ARB_fragment_shader)
+ gst_gl_shader_use (NULL);
+
glPushAttrib(GL_VIEWPORT_BIT);
glMatrixMode(GL_PROJECTION);