diff options
Diffstat (limited to 'src/mesa/main/state.h')
-rw-r--r-- | src/mesa/main/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h index 95cde32eac4..8b6f54b9ca8 100644 --- a/src/mesa/main/state.h +++ b/src/mesa/main/state.h @@ -66,7 +66,7 @@ _mesa_need_secondary_color(const struct gl_context *ctx) if (ctx->FragmentProgram._Current && (ctx->FragmentProgram._Current != ctx->FragmentProgram._TexEnvProgram) && - (ctx->FragmentProgram._Current->Base.InputsRead & VARYING_BIT_COL1)) + (ctx->FragmentProgram._Current->InputsRead & VARYING_BIT_COL1)) return GL_TRUE; return GL_FALSE; |