Re: [Mesa-dev] [PATCH] mesa: fix error handling for dlist image unpacking

2011-09-15 Thread Liu Aleaxander
On Thu, Sep 15, 2011 at 11:17 PM, Brian Paul wrote: > From: Brian Paul > > When compiling glDrawPixels, glTexImage(), etc. and we're copying > the user's image we need to be careful about GL error checking. > Previously, we were incorrectly generating GL_OUT_OF_MEMORY in > unpack_image() if width

[Mesa-dev] [PATCH] mesa: fix error handling for dlist image unpacking

2011-09-15 Thread Brian Paul
From: Brian Paul When compiling glDrawPixels, glTexImage(), etc. and we're copying the user's image we need to be careful about GL error checking. Previously, we were incorrectly generating GL_OUT_OF_MEMORY in unpack_image() if width < 0 or height < 0 or for invalid format/type values. We now ch

[Mesa-dev] [PATCH] mesa: fix error handling for dlist image unpacking

2011-09-15 Thread Brian Paul
From: Brian Paul When compiling glDrawPixels, glTexImage(), etc. and we're copying the user's image we need to be careful about GL error checking. Previously, we were incorrectly generating GL_OUT_OF_MEMORY in unpack_image() if width < 0 or height < 0 or for invalid format/type values. We now ch