summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-11-23 17:42:11 +0100
committerMarek Olšák <[email protected]>2012-12-02 00:19:02 +0100
commit4003961fbf7e59de4b95448eada569adb91e5852 (patch)
treea8496ce149e040ace2ea73f14461b63415f45bdb
parent4a486f8bf2ca3d88228f8313282289abe78bc2f8 (diff)
st/mesa: make st_flush do what glFlush does
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index b4372ae7c1f..7c9f91f1bc7 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -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);