[Mesa-dev] [PATCH 1/6] st/mesa: Don't flush the front buffer
Stéphane Marchesin
marcheu at chromium.org
Thu May 24 18:29:43 PDT 2012
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
More information about the mesa-dev
mailing list