summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Cencora <maciej@osiris.(none)>2009-11-01 17:04:32 +0100
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-11-07 11:53:13 -0800
commitd8592d1724d8c8fd0b36eb21f4007b52f809e062 (patch)
treed1d43140f4ff4e7959c33516ec5611d3fed85157
parentc7dfffc5d5078e3cf1c28c230177cbbb43b91131 (diff)
r300g: add missing flush
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 658a8cba13..bed886fad0 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -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]) {