diff options
author | Eric Anholt <[email protected]> | 2009-08-03 14:27:41 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-08-03 14:33:40 -0700 |
commit | fd65418f600874b05f902b622078b40bc1abb24a (patch) | |
tree | 4e12aa88fb1f5042c0e3c01a62d3e1580dd27d88 /src/mesa/drivers/dri/intel | |
parent | 0828579a658af01a64b5e699175dc9bbbedcd685 (diff) |
intel: Fix inverted test for disabling flushing of front buffer output.
The comment disagreed with the code, and nicely drew my eyes to what was
going wrong.
Bug #21774 (blender)
Bug #21788 (readpix)
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 7f5b8d76e56..35d99850002 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -513,7 +513,7 @@ intel_flush(GLcontext *ctx, GLboolean needs_mi_flush) * each of N places that do rendering. This has worse performances, * but it is much easier to get correct. */ - if (intel->is_front_buffer_rendering) { + if (!intel->is_front_buffer_rendering) { intel->front_buffer_dirty = GL_FALSE; } } |