summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.