[488/906] libvisual-gl: full compatibility with projectM-libvisual if libprojectM >= 2.0.1

Fix bug #310775
This commit is contained in:
Julien Isorce 2012-04-04 16:22:40 +02:00 committed by Tim-Philipp Müller
parent 74526865c6
commit ef87b0e70d

View file

@ -3240,6 +3240,7 @@ gst_gl_display_thread_do_download_draw_rgb (GstGLDisplay * display)
gpointer data = display->download_data;
#ifndef OPENGL_ES2
glUseProgramObjectARB (0);
glEnable (GL_TEXTURE_RECTANGLE_ARB);
glBindTexture (GL_TEXTURE_RECTANGLE_ARB, display->ouput_texture);
#else