[485/906] gstgldisplay: turn off texture binding and read buffer when downloading rgb is done
It fixes: (black image before) gst-launch-0.10 audiotestsrc ! libvisual_gl_lv_gltest ! gldownload ! ximagesink and gst-launch-0.10 audiotestsrc ! libvisual_gl_lv_gltest ! gldownload ! glimagesink
This commit is contained in:
parent
c298f99b5d
commit
06d73faac4
@ -3311,6 +3311,12 @@ gst_gl_display_thread_do_download_draw_rgb (GstGLDisplay * display)
|
|||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef OPENGL_ES2
|
||||||
|
glDisable (GL_TEXTURE_RECTANGLE_ARB);
|
||||||
|
#else
|
||||||
|
glReadBuffer (GL_NONE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user