aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-19 15:18:17 -0700
committerBrian Paul <[email protected]>2009-11-19 15:18:23 -0700
commit4e6c79ac166b71414f09e671aaad0e1d0d406e42 (patch)
treed2afbdc02ab87a22a3d78b3edbf40da6a53da11d /src/mesa
parent2198497203ec427f836978098028abf3350e5e57 (diff)
st/mesa: replace st_flush() with pipe->flush()
We only need to flush the gallium driver in this case. Fixes a recursive state validation bug.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c
index 3945822f663..10f13512830 100644
--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -588,5 +588,5 @@ st_teximage_flush_before_map(struct st_context *st,
if (referenced && ((referenced & PIPE_REFERENCED_FOR_WRITE) ||
(usage & PIPE_TRANSFER_WRITE)))
- st_flush(st, PIPE_FLUSH_RENDER_CACHE, NULL);
+ st->pipe->flush(st->pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
}