r300g: remove unnecessary flush in set_sampler_textures
authorMarek Olšák <maraeo@gmail.com>
Mon, 14 Dec 2009 04:22:36 +0000 (05:22 +0100)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 16 Dec 2009 03:04:45 +0000 (19:04 -0800)
src/gallium/drivers/r300/r300_state.c

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