diff options
author | Ian Romanick <[email protected]> | 2013-11-05 14:01:31 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-15 10:02:48 -0800 |
commit | 065bd6ffc23c9cfef9b10418fb06233a912d6471 (patch) | |
tree | 84b2739895759fc3abda0da87c4157a2c18dc9f3 /src/mesa/drivers/dri/i915/intel_context.c | |
parent | fbc0c9a553ecdc1d6a78a44f7c2c764dd5f172ad (diff) |
mesa: Eliminate parameters to dd_function_table::Viewport
No driver uses them. They will just be annoying in future patches.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index ac5d4ff240b..e076396491e 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -271,17 +271,11 @@ intel_prepare_render(struct intel_context *intel) } static void -intel_noninvalidate_viewport(struct gl_context *ctx, GLint x, GLint y, - GLsizei w, GLsizei h) +intel_noninvalidate_viewport(struct gl_context *ctx) { struct intel_context *intel = intel_context(ctx); __DRIcontext *driContext = intel->driContext; - (void) x; - (void) y; - (void) w; - (void) h; - intelCalcViewport(ctx); if (_mesa_is_winsys_fbo(ctx->DrawBuffer)) { @@ -291,13 +285,8 @@ intel_noninvalidate_viewport(struct gl_context *ctx, GLint x, GLint y, } static void -intel_viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h) +intel_viewport(struct gl_context *ctx) { - (void) x; - (void) y; - (void) w; - (void) h; - intelCalcViewport(ctx); } |