radeon: Fix inverted test for disabling flushing of front buffer output.
authorEric Anholt <eric@anholt.net>
Mon, 3 Aug 2009 21:38:16 +0000 (14:38 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 3 Aug 2009 21:40:46 +0000 (14:40 -0700)
(corresponding fix to the intel driver one)

src/mesa/drivers/dri/radeon/radeon_common.c

index 7f503a9..39f1993 100644 (file)
@@ -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;
                        }
                }