swrast: always call _swrast_choose_texture_sample_func()
authorBrian Paul <brianp@vmware.com>
Mon, 26 Sep 2011 20:39:52 +0000 (14:39 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 26 Sep 2011 20:43:56 +0000 (14:43 -0600)
commitc5943d6c1cc4eedbea088bc1f611abc153e90524
tree0bf2a3da9eb9e4e50bf111459e077378f3996deb
parente0553f6d4b9ec524bffd94dc6f72efe4ea50a347
swrast: always call _swrast_choose_texture_sample_func()

_swrast_choose_texture_sample_func() handles null texture object pointers
and will return the "null" sampler function which returns (0,0,0,1).  This
fixes a minor regression from ce82914f5ad4bb9148370826099925590e9798fd
src/mesa/swrast/s_context.c