summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-11-01 11:40:44 -0700
committerIan Romanick <ian.d.romanick@intel.com>2013-11-05 07:50:12 -0800
commit3a5b84cece17d4cacb699b8fd47080925228ca9a (patch)
treea577b09cfb7d70a10b8e0709f38476db409ad546 /src/mesa/drivers/dri/r200
parent619a9bee7da9f3b8271841b6782dfc846dd7ee32 (diff)
downloadexternal_mesa3d-3a5b84cece17d4cacb699b8fd47080925228ca9a.zip
external_mesa3d-3a5b84cece17d4cacb699b8fd47080925228ca9a.tar.gz
external_mesa3d-3a5b84cece17d4cacb699b8fd47080925228ca9a.tar.bz2
radeon / r200: Don't pass unused parameters to radeon_viewport
The x, y, width, and height parameters aren't used by radeon_viewport, so don't pass them. This should make future changes to the dd_function_table::Viewport interface a little easier. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jljusten@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Cc: Courtney Goeltzenleuchter <courtney@lunarg.com>
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_state.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c
index d3e8114..ee7b945 100644
--- a/src/mesa/drivers/dri/r200/r200_state.c
+++ b/src/mesa/drivers/dri/r200/r200_state.c
@@ -1603,13 +1603,18 @@ void r200_vtbl_update_scissor( struct gl_context *ctx )
static void r200Viewport( struct gl_context *ctx, GLint x, GLint y,
GLsizei width, GLsizei height )
{
+ (void) x;
+ (void) y;
+ (void) width;
+ (void) height;
+
/* Don't pipeline viewport changes, conflict with window offset
* setting below. Could apply deltas to rescue pipelined viewport
* values, or keep the originals hanging around.
*/
r200UpdateWindow( ctx );
- radeon_viewport(ctx, x, y, width, height);
+ radeon_viewport(ctx);
}
static void r200DepthRange( struct gl_context *ctx, GLclampd nearval,