Module: Mesa
Branch: master
Commit: 4221e81b2489c4c91092ef49bba181a1bed216c8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4221e81b2489c4c91092ef49bba181a1bed216c8

Author: Eric Anholt <[email protected]>
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;
                        }
                }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to