Browse Source

gallium: added draw_flush() call in softpipe_bind_sampler_state()

tags/mesa_20090313
Brian 17 years ago
parent
commit
864abce57d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/mesa/pipe/softpipe/sp_state_sampler.c

+ 2
- 0
src/mesa/pipe/softpipe/sp_state_sampler.c 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;


Loading…
Cancel
Save