[Mesa-dev] [PATCH] mesa: don't map depth+stencil buffer twice in glReadPixels()

Brian Paul brianp at vmware.com
Wed Nov 16 07:56:56 PST 2011


On 11/16/2011 08:43 AM, Jose Fonseca wrote:
> Looks good Brian.
>
> BTW, we should probably be more defensive about map failures on this code. This is not a regression, as st_cb_readpixels.c also did a poor job.

Yeah, it's only a matter of time until we find a case where 
MapRenderbuffer (or MapTextureImage) fails and we need to be more 
robust...

-Brian



More information about the mesa-dev mailing list