gallium: added draw_flush() call in softpipe_bind_sampler_state()
authorBrian <brian.paul@tungstengraphics.com>
Fri, 8 Feb 2008 21:46:47 +0000 (14:46 -0700)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:33 +0000 (13:50 +1100)
src/mesa/pipe/softpipe/sp_state_sampler.c

index 51b4b78..291bbc4 100644 (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;