st/mesa: make st_flush do what glFlush does
authorMarek Olšák <maraeo@gmail.com>
Fri, 23 Nov 2012 16:42:11 +0000 (17:42 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 1 Dec 2012 23:19:02 +0000 (00:19 +0100)
src/mesa/state_tracker/st_cb_flush.c

index b4372ae..7c9f91f 100644 (file)
@@ -79,6 +79,7 @@ display_front_buffer(struct st_context *st)
 void st_flush( struct st_context *st,
                struct pipe_fence_handle **fence )
 {
+   FLUSH_VERTICES(st->ctx, 0);
    FLUSH_CURRENT(st->ctx, 0);
 
    st_flush_bitmap_cache(st);