Re: [Mesa-dev] [PATCH] mesa: Fix error code generation in glReadPixels()

2014-02-18 Thread Anuj Phogat
On Fri, Feb 14, 2014 at 7:00 PM, Ian Romanick wrote: > On 02/14/2014 04:49 PM, Anuj Phogat wrote: >> Section 4.3.1, page 220, of OpenGL 3.3 specification explains >> the error conditions for glreadPixels(): >> >>"If the format is DEPTH_STENCIL, then values are taken from >> both the depth

Re: [Mesa-dev] [PATCH] mesa: Fix error code generation in glReadPixels()

2014-02-14 Thread Ian Romanick
On 02/14/2014 04:49 PM, Anuj Phogat wrote: > Section 4.3.1, page 220, of OpenGL 3.3 specification explains > the error conditions for glreadPixels(): > >"If the format is DEPTH_STENCIL, then values are taken from > both the depth buffer and the stencil buffer. If there is > no depth bu

[Mesa-dev] [PATCH] mesa: Fix error code generation in glReadPixels()

2014-02-14 Thread Anuj Phogat
Section 4.3.1, page 220, of OpenGL 3.3 specification explains the error conditions for glreadPixels(): "If the format is DEPTH_STENCIL, then values are taken from both the depth buffer and the stencil buffer. If there is no depth buffer or if there is no stencil buffer, then the err