s/Saturate/SaturateMode/
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 20 Nov 2005 17:54:29 +0000 (17:54 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 20 Nov 2005 17:54:29 +0000 (17:54 +0000)
src/mesa/drivers/dri/i915/i915_fragprog.c

index 5dd6671a9e3d09d6397071442a6c0a95cc8f1d9e..db74f4d2a1b81ac3252d7c20e3b46f89f17bfc6e 100644 (file)
@@ -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;