diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2013-11-05 14:22:30 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2014-01-15 10:02:48 -0800 |
commit | a05c596a00916ce6a9c9d35ff36cd1e401fddd43 (patch) | |
tree | a91938301544ac71d5cc1557a4881b23301a339a /src/mesa/drivers/common/driverfuncs.c | |
parent | 6dbab6b2bb29e3b0595762920ef17e2ae5a9bf3a (diff) | |
download | external_mesa3d-a05c596a00916ce6a9c9d35ff36cd1e401fddd43.zip external_mesa3d-a05c596a00916ce6a9c9d35ff36cd1e401fddd43.tar.gz external_mesa3d-a05c596a00916ce6a9c9d35ff36cd1e401fddd43.tar.bz2 |
mesa: Eliminate parameters to dd_function_table::Scissor
The i830 and i915 drivers used them, but they didn't really need to.
They will just be annoying in future patches.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index f185688..e8dcb24 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -302,8 +302,7 @@ _mesa_init_driver_state(struct gl_context *ctx) 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, ctx->Scissor.X, ctx->Scissor.Y, - ctx->Scissor.Width, ctx->Scissor.Height); + ctx->Driver.Scissor(ctx); ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel); ctx->Driver.StencilFuncSeparate(ctx, GL_FRONT, ctx->Stencil.Function[0], |