summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-20 17:54:29 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-20 17:54:29 +0000
commit1a61462318c00f61faaa88111248d89eceac1c77 (patch)
tree1560d9e42224b10d532c17e202974aa7e3b2d5cc /src/mesa
parente31ac052236ea615b4995f9ec301d8af4b864531 (diff)
s/Saturate/SaturateMode/
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i915/i915_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c
index 5dd6671a9e..db74f4d2a1 100644
--- a/src/mesa/drivers/dri/i915/i915_fragprog.c
+++ b/src/mesa/drivers/dri/i915/i915_fragprog.c
@@ -177,7 +177,7 @@ static GLuint get_result_flags( const struct prog_instruction *inst )
{
GLuint flags = 0;
- if (inst->Saturate == SATURATE_ZERO_ONE) flags |= A0_DEST_SATURATE;
+ if (inst->SaturateMode == SATURATE_ZERO_ONE) flags |= A0_DEST_SATURATE;
if (inst->DstReg.WriteMask & WRITEMASK_X) flags |= A0_DEST_CHANNEL_X;
if (inst->DstReg.WriteMask & WRITEMASK_Y) flags |= A0_DEST_CHANNEL_Y;
if (inst->DstReg.WriteMask & WRITEMASK_Z) flags |= A0_DEST_CHANNEL_Z;