summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2009-12-14 05:22:36 +0100
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-12-15 19:04:45 -0800
commitde0befc4b2e3061f865a5b39295d64a8f003e9e8 (patch)
tree5c402c1cc31a0c2fa6df5b24ba74f81d3723f9d6 /src/gallium/drivers
parentc5e0b0bc37315cd29a84e71854dca951149b8bc8 (diff)
r300g: remove unnecessary flush in set_sampler_textures
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index edf7114bbb..3cfa2e63f9 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -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],