Mesa (master): mesa/st: protect internal flushes with FLUSH_CURRENT
Keith Whitwell
keithw at kemper.freedesktop.org
Tue Apr 28 17:17:40 UTC 2009
Module: Mesa
Branch: master
Commit: 801a33ae44355b89cebed47e9e48e39545522f6e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=801a33ae44355b89cebed47e9e48e39545522f6e
Author: Keith Whitwell <keithw at vmware.com>
Date: Tue Apr 28 17:50:19 2009 +0100
mesa/st: protect internal flushes with FLUSH_CURRENT
Already doing this for driver.flush()
---
src/mesa/state_tracker/st_cb_flush.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index 7d7d382..fbaffd1 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -82,7 +82,7 @@ display_front_buffer(struct st_context *st)
void st_flush( struct st_context *st, uint pipeFlushFlags,
struct pipe_fence_handle **fence )
{
- FLUSH_VERTICES(st->ctx, 0);
+ FLUSH_CURRENT(st->ctx, 0);
/* Release any vertex buffers that might potentially be accessed in
* successive frames:
More information about the mesa-commit
mailing list