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

Vic Lee llyzs.vic at gmail.com
Fri Mar 9 07:38:24 PST 2012


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.

> I'll make a patch with your null vs check though.  You should be all set
> then if you grab the latest code from git.

Thanks!

> -Brian

Vic


More information about the mesa-dev mailing list