diff options
author | Ian Romanick <[email protected]> | 2018-01-03 11:45:58 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-01-26 11:21:46 +0800 |
commit | 0aaa27f29187ffb739c7ba2d789b82114f59f054 (patch) | |
tree | 9043ee0a749893d3676c354a5a9e391efa187260 /src/mesa/drivers/common/driverfuncs.c | |
parent | cf0b26ec1250567fe0c5e9cc556806e64e843d19 (diff) |
mesa: Pass the translated color logic op dd_function_table::LogicOpcode
And delete the resulting dead code. This has only been compile-tested.
v2: sed --in-place -e 's/color_logic_ops/gl_logicop_mode/g' $(grep -lr
color_logic_ops src/) suggested by Brian.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index 94dc0e62753..99c1520d2ad 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -277,7 +277,7 @@ _mesa_init_driver_state(struct gl_context *ctx) } ctx->Driver.LineWidth(ctx, ctx->Line.Width); - ctx->Driver.LogicOpcode(ctx, ctx->Color.LogicOp); + ctx->Driver.LogicOpcode(ctx, ctx->Color._LogicOp); ctx->Driver.PointSize(ctx, ctx->Point.Size); ctx->Driver.PolygonStipple(ctx, (const GLubyte *) ctx->PolygonStipple); ctx->Driver.Scissor(ctx); |