projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0828579
)
intel: Fix inverted test for disabling flushing of front buffer output.
author
Eric Anholt
<eric@anholt.net>
Mon, 3 Aug 2009 21:27:41 +0000
(14:27 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 3 Aug 2009 21:33:40 +0000
(14:33 -0700)
The comment disagreed with the code, and nicely drew my eyes to what was
going wrong.
Bug #21774 (blender)
Bug #21788 (readpix)
src/mesa/drivers/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index 7f5b8d76e56e28880781fcd405e0abf88cd8e4e1..35d99850002fb3c1fbb1cf32a1d9ac7ad0a69fe6 100644
(file)
--- 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;
}
}