summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-09-09 14:27:38 -0700
committerIan Romanick <[email protected]>2011-09-19 12:02:21 -0700
commit2e1cc883b380c3e038b7f2890bf80ed1736a9f18 (patch)
tree3a69cfa466ac16c8c21cd5950fcc0ff32657de28 /src/mesa/main/state.h
parent2836aab2031d5b6926923fbc70f867ec638301bd (diff)
mesa: Replace _mesa_rgba_logicop_enabled(ctx) with ctx->Color.ColorLogicOpEnabled
Since GL_EXT_blend_logic_op is removed, _mesa_rgba_logicop_enabled(ctx) just returns ctx->Color.ColorLogicOpEnabled. That seems kind of silly. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/state.h')
-rw-r--r--src/mesa/main/state.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h
index 7ff1c5b59b3..7feeb9007ca 100644
--- a/src/mesa/main/state.h
+++ b/src/mesa/main/state.h
@@ -72,16 +72,4 @@ _mesa_need_secondary_color(const struct gl_context *ctx)
return GL_FALSE;
}
-
-/**
- * Is RGBA LogicOp enabled?
- */
-static INLINE GLboolean
-_mesa_rgba_logicop_enabled(const struct gl_context *ctx)
-{
- return ctx->Color.ColorLogicOpEnabled;
-}
-
-
-
#endif