st/mesa: remove redundant flushes from st_flush
[mesa.git] / src / mesa / state_tracker / st_cb_flush.c
index d9ec0a846a741600458dfcf063ff95ab9424b1bf..c8452d0e6f7220750f8fd64de29d6048469bdfca 100644 (file)
@@ -50,9 +50,6 @@ void st_flush(struct st_context *st,
               struct pipe_fence_handle **fence,
               unsigned flags)
 {
-   FLUSH_VERTICES(st->ctx, 0);
-   FLUSH_CURRENT(st->ctx, 0);
-
    st_flush_bitmap_cache(st);
 
    st->pipe->flush(st->pipe, fence, flags);