aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-08-03 14:38:16 -0700
committerEric Anholt <[email protected]>2009-08-03 14:40:46 -0700
commit4221e81b2489c4c91092ef49bba181a1bed216c8 (patch)
tree191b67a08614ac2a34f571991df3dc3b53775eba /src/mesa/drivers/dri/radeon
parentfd65418f600874b05f902b622078b40bc1abb24a (diff)
radeon: Fix inverted test for disabling flushing of front buffer output.
(corresponding fix to the intel driver one)
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}