gtk/gl: Only unbind buffers/vertex attrib arrays if we can't directly bind the vertex...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 16 Jan 2019 12:11:44 +0000 (14:11 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 16 Jan 2019 12:11:44 +0000 (14:11 +0200)
commitdb0eca886f13933272ef21128b59d26dc7f7c85f
treee32256818011d6402f64af1265df9dcca4b3a082
parent6700c16989bf97dad6ea1a61fb632f99d54ed93a
gtk/gl: Only unbind buffers/vertex attrib arrays if we can't directly bind the vertex array to 0

Binding the vertex array to 0 will unbind everything else already.

In the previous order older versions of the Intel GL driver caused
errors to be printed for every single call when disabling the vertex
attrib arrays after binding the vertex array to 0.
ext/gtk/gtkgstglwidget.c