[Mesa-dev] [PATCH] mesa: handle errors in _mesa_unpack_image instead in unpack_image

Brian Paul brianp at vmware.com
Thu Sep 15 08:16:49 PDT 2011


On 09/15/2011 09:00 AM, Liu Aleaxander wrote:
> On Thu, Sep 15, 2011 at 10:44 PM, Liu Aleaxander<aleaxander at gmail.com>  wrote:
>> On Thu, Sep 15, 2011 at 10:17 PM, Brian Paul<brianp at vmware.com>  wrote:
>
> [snip]
> ...
>>>
>>> The attached patch fixes the issues you've raised but defers error
>>> generation from compile-time to execute-time.  OK?
>>
>> It's OK to me.
>
> oops, I didn't look it carefully then. In fact, your patch still
> didn't handle the (width == 0 || height == 0) case.

D'oh.  I'll post another patch...

-Brian



More information about the mesa-dev mailing list