GNOME Bugzilla – Bug 782552
glmemory: remove use of glDrawBuffer in tex_copy
Last modified: 2017-05-12 10:49:49 UTC
glDrawBuffer is not compatible with GLES 3.0 and also the usage is not necessary here.
Created attachment 351707 [details] [review] glmemory: remove use of glDrawBuffer in tex_copy
Why is it not necessary? This is solved in bug #782376 already though, but if it's unnecessary we should remove the call completely.
(In reply to Sebastian Dröge (slomo) from comment #2) > Why is it not necessary? This is solved in bug #782376 already though, but > if it's unnecessary we should remove the call completely. Your solution is better, because we should make sure the gl state is right when call biltframebuffer which the draw buffer must be GL_COLOR_ATTACHMENT0.
*** This bug has been marked as a duplicate of bug 782376 ***