[Mesa-dev] [PATCH] mesa: handle errors in _mesa_unpack_image instead in unpack_image
Liu Aleaxander
aleaxander at gmail.com
Thu Sep 15 08:00:47 PDT 2011
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.
Thanks,
Yuanhan Liu
More information about the mesa-dev
mailing list