projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2198497
)
st/mesa: replace st_flush() with pipe->flush()
author
Brian Paul
<brianp@vmware.com>
Thu, 19 Nov 2009 22:18:17 +0000
(15:18 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 19 Nov 2009 22:18:23 +0000
(15:18 -0700)
We only need to flush the gallium driver in this case.
Fixes a recursive state validation bug.
src/mesa/state_tracker/st_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_texture.c
b/src/mesa/state_tracker/st_texture.c
index 3945822f6637c1f5cc8470c8ff83a1c28f4ac4d9..10f13512830f4d7fd7f4fd69b3855b17e34b0676 100644
(file)
--- 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);
}