gallium: replace an assertion with "if (!texobj) continue"
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 01:11:49 +0000 (19:11 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 01:11:49 +0000 (19:11 -0600)
commit98b7174ad6f6a74361e58136bdd235a092b07a40
treef54391c81b8ab6332c31108ceb7bee2f22e64b0d
parentdad8a7c90d96f37fedfe912a10ba3754c1666161
gallium: replace an assertion with "if (!texobj) continue"

It's possible to call update_samplers() between the time a fragment shader
is bound and when a texture image is defined (such as glClear).  This
fixes the case where we don't have a complete texture object yet.
src/mesa/state_tracker/st_atom_sampler.c