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 04:59:12 +0000 (14:59 +1000)
commiteffda87a0b16dd55df7ce38d56b5557766643cc8
tree6c257b007ccfe844e43b6f418c3562e9c24ead11
parent02ef39f48aa9e261c8fd9a4986f986d2ec047cf7
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