diff options
author | Ian Romanick <[email protected]> | 2013-11-05 14:22:30 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-15 10:02:48 -0800 |
commit | a05c596a00916ce6a9c9d35ff36cd1e401fddd43 (patch) | |
tree | a91938301544ac71d5cc1557a4881b23301a339a /src/mesa/drivers/dri/radeon | |
parent | 6dbab6b2bb29e3b0595762920ef17e2ae5a9bf3a (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index a5d363fc71b..690e486097c 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -142,7 +142,7 @@ void radeonUpdateScissor( struct gl_context *ctx ) * Scissoring */ -void radeonScissor(struct gl_context* ctx, GLint x, GLint y, GLsizei w, GLsizei h) +void radeonScissor(struct gl_context *ctx) { radeonContextPtr radeon = RADEON_CONTEXT(ctx); if (ctx->Scissor.Enabled) { diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h index 69a17278abf..c925ad9eaca 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.h +++ b/src/mesa/drivers/dri/radeon/radeon_common.h @@ -8,7 +8,7 @@ void radeonUserClear(struct gl_context *ctx, GLuint mask); void radeonSetCliprects(radeonContextPtr radeon); void radeonUpdateScissor( struct gl_context *ctx ); -void radeonScissor(struct gl_context* ctx, GLint x, GLint y, GLsizei w, GLsizei h); +void radeonScissor(struct gl_context *ctx); extern uint32_t radeonGetAge(radeonContextPtr radeon); |