diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-08 14:46:47 -0700 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:33 +1100 |
commit | 184054fea12e4301c1ccc4cbe13594fe84f0ed78 (patch) | |
tree | 6ea890d599eb3e01cab885c8e35f5b0ab4e7e681 | |
parent | 76dc41765f97b7550d691069fb53e699d5b07d95 (diff) |
gallium: added draw_flush() call in softpipe_bind_sampler_state()
-rw-r--r-- | src/mesa/pipe/softpipe/sp_state_sampler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state_sampler.c b/src/mesa/pipe/softpipe/sp_state_sampler.c index 51b4b78287..291bbc40ad 100644 --- a/src/mesa/pipe/softpipe/sp_state_sampler.c +++ b/src/mesa/pipe/softpipe/sp_state_sampler.c @@ -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; |