summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-02 11:43:33 -0600
committerBrian <[email protected]>2007-11-05 08:04:47 -0700
commit08f88cbbc9a5da5667d02d5eeafac79d2de1ee95 (patch)
treef64339ff6ed4f2ef0e62965d911abbc2c9920009
parent4019277f09448a0f7ffb7dd620e9bc5613f9b758 (diff)
call FLUSH_VERTICES() in st_flush()
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index fe920a44abe..5af391d8ed3 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -46,6 +46,8 @@ void st_flush( struct st_context *st )
{
GLframebuffer *fb = st->ctx->DrawBuffer;
+ FLUSH_VERTICES(st->ctx, 0);
+
/* If there has been no rendering to the frontbuffer, consider
* short-circuiting this, or perhaps pass an "optional" flag down
* to the driver so that it can make the decision.