summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-08 14:46:47 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-08 15:13:48 -0700
commit864abce57d3b81d0f92673472959b71e09c4f245 (patch)
tree13e92f23660c50d19e371428335b38af62680d70 /src
parentc3395f4473c8fdf75d04c0dd72e687bc8d8127a7 (diff)
gallium: added draw_flush() call in softpipe_bind_sampler_state()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/softpipe/sp_state_sampler.c2
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;