gallium: added draw_flush() call in softpipe_bind_sampler_state()

This commit is contained in:
Brian 2008-02-08 14:46:47 -07:00 committed by Ben Skeggs
parent 76dc41765f
commit 184054fea1

View file

@ -49,6 +49,8 @@ softpipe_bind_sampler_state(struct pipe_context *pipe,
{
struct softpipe_context *softpipe = softpipe_context(pipe);
draw_flush(softpipe->draw);
assert(unit < PIPE_MAX_SAMPLERS);
softpipe->sampler[unit] = (struct pipe_sampler_state *)sampler;