[655/906] download: remove erronous ReadBuffer call
authorMatthew Waters <ystreet00@gmail.com>
Thu, 17 Jan 2013 12:45:59 +0000 (23:45 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:27 +0000 (19:31 +0000)
- it was causing segfaults in mesa
- we didn't set the readbuffer so we shouldn't reset it

gst-libs/gst/gl/gstgldownload.c

index a468b39..f1baa92 100644 (file)
@@ -1154,7 +1154,6 @@ _do_download_draw_rgb_opengl (GstGLDisplay * display, GstGLDownload * download)
       break;
   }
 
-  gl->ReadBuffer (GL_NONE);
   gl->Disable (GL_TEXTURE_RECTANGLE_ARB);
 }
 #endif