[Mesa-dev] [PATCH] svga: Check vs and fs pointer when updating states.

Brian Paul brianp at vmware.com
Fri Mar 9 07:44:34 PST 2012


On 03/09/2012 08:38 AM, Vic Lee wrote:
> On 03/09/2012 11:19 PM, Brian Paul wrote:
>> Vic, it looks like your code is slightly out of date. In current
>> git/master, line 148 reads:
>>
>> unsigned generic_inputs =
>> svga->curr.fs ? svga->curr.fs->generic_inputs : 0;
>>
>> Zack added the null ptr check in January with commit cff0eac702
>
> Ah ok I know why. I am using 8.0 branch which does not yet include
> this commit. So I think commit cff0eac702 should also be a candidate
> for 8.0.

Will do.

-Brian


More information about the mesa-dev mailing list