We might not even have a frontbuffer bound, this is the wrong place to do
this, and this is not needed, so remove it.
---
 src/mesa/state_tracker/st_manager.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_manager.c 
b/src/mesa/state_tracker/st_manager.c
index d54b7ed..5990eaf 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -460,8 +460,6 @@ st_context_flush(struct st_context_iface *stctxi, unsigned 
flags,
 {
    struct st_context *st = (struct st_context *) stctxi;
    st_flush(st, fence);
-   if (flags & ST_FLUSH_FRONT)
-      st_manager_flush_frontbuffer(st);
 }
 
 static boolean
-- 
1.7.5.3.367.ga9930

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to