gallium: pass NULL to cso_single_sampler() when the sampler isn't used.
authorBrian <brian@poulsbo.localnet.net>
Wed, 12 Mar 2008 20:20:54 +0000 (14:20 -0600)
committerBrian <brian@poulsbo.localnet.net>
Wed, 12 Mar 2008 20:20:54 +0000 (14:20 -0600)
commit0dd79011b9c407191e40c2697c68946f35bc557a
tree2bf464781f5b8dbe2c6e852857ebfb0e1b4dabe0
parent51809bc1bc719c8d988cd6e06b6c96af43d12026
gallium: pass NULL to cso_single_sampler() when the sampler isn't used.

This fixes an AA line crash/regression.
The aaline stage needs to find a free/unused sampler to do its thing.
src/mesa/state_tracker/st_atom_sampler.c