diff options
author | Brian Paul <[email protected]> | 2010-10-15 16:54:03 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-15 16:54:03 -0600 |
commit | 61a467e515c31eb6b97b039bc3f97dbe6eafa7cb (patch) | |
tree | 3783a0652d98452a7b49a19fd39bc184176b3c73 /src/mesa/state_tracker/st_context.h | |
parent | b2578ef873c4c9dd831a23501a677bf523de90fc (diff) |
st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX)
We need to keep track of three different fragment shaders: Z-only, stencil-
only, and Z+stencil. Before, we were only keeping track of the first one
we encountered.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 89483ac04c8..d342c0cff1e 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -160,7 +160,7 @@ struct st_context /** for glDraw/CopyPixels */ struct { - struct st_fragment_program *z_shader; + struct st_fragment_program *shaders[4]; void *vert_shaders[2]; /**< ureg shaders */ } drawpix; |