Mesa (master): radeon: Fix inverted test for disabling flushing of front buffer output.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Aug 3 21:41:29 UTC 2009
Module: Mesa
Branch: master
Commit: 4221e81b2489c4c91092ef49bba181a1bed216c8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4221e81b2489c4c91092ef49bba181a1bed216c8
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 3 14:38:16 2009 -0700
radeon: Fix inverted test for disabling flushing of front buffer output.
(corresponding fix to the intel driver one)
---
src/mesa/drivers/dri/radeon/radeon_common.c | 2 +-
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 7f503a9..39f1993 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;
}
}
More information about the mesa-commit
mailing list