r300g: add missing flush
authorMaciej Cencora <maciej@osiris.(none)>
Sun, 1 Nov 2009 16:04:32 +0000 (17:04 +0100)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 7 Nov 2009 19:53:13 +0000 (11:53 -0800)
src/gallium/drivers/r300/r300_state.c

index 658a8cba132290d73fda6218535f4b124211307c..bed886fad0458e7b7f00e5813813b37a1d738e74 100644 (file)
@@ -577,6 +577,8 @@ static void r300_set_sampler_textures(struct pipe_context* pipe,
     if (count > 8) {
         return;
     }
+    
+    r300->context.flush(&r300->context, 0, NULL);
 
     for (i = 0; i < count; i++) {
         if (r300->textures[i] != (struct r300_texture*)texture[i]) {