From: Eric Anholt Date: Mon, 3 Aug 2009 21:38:16 +0000 (-0700) Subject: radeon: Fix inverted test for disabling flushing of front buffer output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4221e81b2489c4c91092ef49bba181a1bed216c8;p=mesa.git radeon: Fix inverted test for disabling flushing of front buffer output. (corresponding fix to the intel driver one) --- diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index 7f503a9ff71..39f19933329 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -1093,7 +1093,7 @@ void radeonFlush(GLcontext *ctx) * each of N places that do rendering. This has worse performances, * but it is much easier to get correct. */ - if (radeon->is_front_buffer_rendering) { + if (!radeon->is_front_buffer_rendering) { radeon->front_buffer_dirty = GL_FALSE; } }