1 commit fd65418f600874b05f902b622078b40bc1abb24a
2 Author: Eric Anholt <eric@anholt.net>
3 Date: Mon Aug 3 14:27:41 2009 -0700
5 intel: Fix inverted test for disabling flushing of front buffer output.
7 The comment disagreed with the code, and nicely drew my eyes to what was
13 diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
14 index 7f5b8d7..35d9985 100644
15 --- a/src/mesa/drivers/dri/intel/intel_context.c
16 +++ b/src/mesa/drivers/dri/intel/intel_context.c
17 @@ -513,7 +513,7 @@ intel_flush(GLcontext *ctx, GLboolean needs_mi_flush)
18 * each of N places that do rendering. This has worse performances,
19 * but it is much easier to get correct.
21 - if (intel->is_front_buffer_rendering) {
22 + if (!intel->is_front_buffer_rendering) {
23 intel->front_buffer_dirty = GL_FALSE;