Re: [Mesa-dev] [PATCH v2] main/buffers: update error handling on DrawBuffers for 4.5

2017-01-11 Thread Anuj Phogat
On Wed, Jan 11, 2017 at 2:00 PM, Alejandro Piñeiro wrote: > Before 4.5, GL_BACK was not allowed as a value of bufs. Since 4.5 it > is allowed under some circunstances: > > From the OpenGL 4.5 specification, Section 17.4.1 "Selecting Buffers > for Writing", page 493 (page 515 of the PDF): > "An IN

[Mesa-dev] [PATCH v2] main/buffers: update error handling on DrawBuffers for 4.5

2017-01-11 Thread Alejandro Piñeiro
Before 4.5, GL_BACK was not allowed as a value of bufs. Since 4.5 it is allowed under some circunstances: From the OpenGL 4.5 specification, Section 17.4.1 "Selecting Buffers for Writing", page 493 (page 515 of the PDF): "An INVALID_ENUM error is generated if any value in bufs is FRONT , LEFT ,