call FLUSH_VERTICES() in st_flush()
authorBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 17:43:33 +0000 (11:43 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 15:04:47 +0000 (08:04 -0700)
src/mesa/state_tracker/st_cb_flush.c

index fe920a4..5af391d 100644 (file)
@@ -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.