diff options
Diffstat (limited to 'src/mesa/main/state.h')
-rw-r--r-- | src/mesa/main/state.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h index a48c777567f..7ff1c5b59b3 100644 --- a/src/mesa/main/state.h +++ b/src/mesa/main/state.h @@ -79,8 +79,7 @@ _mesa_need_secondary_color(const struct gl_context *ctx) static INLINE GLboolean _mesa_rgba_logicop_enabled(const struct gl_context *ctx) { - return ctx->Color.ColorLogicOpEnabled || - (ctx->Color.BlendEnabled && ctx->Color.Blend[0].EquationRGB == GL_LOGIC_OP); + return ctx->Color.ColorLogicOpEnabled; } |