gl: reset gl->DrawBuffer to the necessary values
authorMatthew Waters <matthew@centricular.com>
Wed, 28 Jun 2017 04:45:18 +0000 (14:45 +1000)
committerMatthew Waters <matthew@centricular.com>
Thu, 29 Jun 2017 09:33:36 +0000 (19:33 +1000)
commite9bcddb7c61d681ef24cc901bff25fdc2b3ac555
treee7be5a17a1b80dfc89866c22b6b2ff19994b312d
parent1922548721e5f8ff9d86c69615cf060eca7d0913
gl: reset gl->DrawBuffer to the necessary values

GL_COLOR_ATTACHMENT0 when a framebuffer is bound
GL_BACK if no framebuffer is bound

https://bugzilla.gnome.org/show_bug.cgi?id=784210
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglframebuffer.c
gst-libs/gst/gl/gstglviewconvert.c