aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-11-05 14:01:31 -0800
committerIan Romanick <[email protected]>2014-01-15 10:02:48 -0800
commit065bd6ffc23c9cfef9b10418fb06233a912d6471 (patch)
tree84b2739895759fc3abda0da87c4157a2c18dc9f3 /src/mesa/main/viewport.c
parentfbc0c9a553ecdc1d6a78a44f7c2c764dd5f172ad (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/main/viewport.c')
-rw-r--r--src/mesa/main/viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c
index 91578ba9d04..7ea1d5f63a5 100644
--- a/src/mesa/main/viewport.c
+++ b/src/mesa/main/viewport.c
@@ -99,7 +99,7 @@ _mesa_set_viewport(struct gl_context *ctx, GLint x, GLint y,
/* Many drivers will use this call to check for window size changes
* and reallocate the z/stencil/accum/etc buffers if needed.
*/
- ctx->Driver.Viewport(ctx, x, y, width, height);
+ ctx->Driver.Viewport(ctx);
}
}