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 b4372ae7c1f10374da6172476a489660a363d5f1..7c9f91f1bc759be1e4e1e4eba0adbecf8540c7c1 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);