Bug 70411 - glInvalidateFramebuffer fails with GL_INVALID_ENUM
glInvalidateFramebuffer fails with GL_INVALID_ENUM
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Mesa core
9.2
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: mesa-dev
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-12 22:28 UTC by Constantin Baranov
Modified: 2013-10-14 15:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add missing switch break (732 bytes, text/plain)
2013-10-12 22:28 UTC, Constantin Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Baranov 2013-10-12 22:28:05 UTC
Created attachment 87535 [details]
Add missing switch break

The call:
glInvalidateFramebuffer(GL_READ_FRAMEBUFFER, 1, &(GLenum){GL_COLOR_ATTACHMENT0});
gives me GL_INVALID_ENUM. An FBO with only single color attachment is bound to GL_READ_FRAMEBUFFER.
Comment 1 Brian Paul 2013-10-14 15:06:17 UTC
Thanks!  I'll commit this shortly.