[Mesa-dev] [PATCH] mesa/uniform_query: Don't write to *params if there is an error

Matt Turner mattst88 at gmail.com
Fri Dec 7 16:23:31 PST 2012


On Fri, Dec 7, 2012 at 4:09 PM, Brian Paul <brianp at vmware.com> wrote:
>> The
>> only complication is that you have to check that the pnames are valid
>> too.
>
>
> Are you sure?  On the first loop iteration we'll detect if pname is invalid
> and return before anything is written to params.

Oh, you are correct. I'd thought we had a list of pname values to
check, not just a single.

v3 coming up...


More information about the mesa-dev mailing list