Re: [Mesa-dev] [PATCH] mesa: Generate correct error code in glDrawBuffers()

2014-01-28 Thread Ian Romanick
On 01/27/2014 07:29 PM, Anuj Phogat wrote: > OpenGL 3.3 spec expects GL_INVALID_OPERATION: > "For both the default framebuffer and framebuffer objects, the > constants FRONT, BACK, LEFT, RIGHT, and FRONT AND BACK are not > valid in the bufs array passed to DrawBuffers, and will result > in t

[Mesa-dev] [PATCH] mesa: Generate correct error code in glDrawBuffers()

2014-01-27 Thread Anuj Phogat
OpenGL 3.3 spec expects GL_INVALID_OPERATION: "For both the default framebuffer and framebuffer objects, the constants FRONT, BACK, LEFT, RIGHT, and FRONT AND BACK are not valid in the bufs array passed to DrawBuffers, and will result in the error INVALID OPERATION." But OpenGL 4.0 spec cha