]> git.pld-linux.org Git - packages/Mesa.git/blob - Mesa-git.patch
- rel 8; enable GLX TLS
[packages/Mesa.git] / Mesa-git.patch
1 commit fd65418f600874b05f902b622078b40bc1abb24a
2 Author: Eric Anholt <eric@anholt.net>
3 Date:   Mon Aug 3 14:27:41 2009 -0700
4
5     intel: Fix inverted test for disabling flushing of front buffer output.
6     
7     The comment disagreed with the code, and nicely drew my eyes to what was
8     going wrong.
9     
10     Bug #21774 (blender)
11     Bug #21788 (readpix)
12
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.
20           */
21 -        if (intel->is_front_buffer_rendering) {
22 +        if (!intel->is_front_buffer_rendering) {
23             intel->front_buffer_dirty = GL_FALSE;
24          }
25        }
This page took 0.032433 seconds and 3 git commands to generate.