From 1a61462318c00f61faaa88111248d89eceac1c77 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 20 Nov 2005 17:54:29 +0000 Subject: [PATCH] s/Saturate/SaturateMode/ --- src/mesa/drivers/dri/i915/i915_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 5dd6671a9e3..db74f4d2a1b 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; -- 2.30.2