DescriptionDo not call glDrawBuffersARB when the extension is absent
The function Framebuffer::ChangeDrawBuffersHelper was assuming
that binding of an FBO with no GL_COLOR_ATTACHMENT0 was
accompanied by setting the first draw buffer to GL_NONE with
glDrawBuffersARB in the fix introduced in:
https://codereview.chromium.org/315283002
When the extension is not present, it can be assumed that the
glDrawBuffersARB state need not be set and restored.
BUG=(wrangling)
NOTRY=True
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282393
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|