From 12d924c5ae14a1c6a05a3dcae29b77e7668e227d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Sun, 21 Aug 2011 17:07:56 -0700 Subject: mesa: Remove target parameter from dd_function_table::MapBuffer No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick Reviewed-by: Brian Paul Acked-by: Kenneth Graunke Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/radeon/radeon_buffer_objects.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/drivers/dri/radeon') diff --git a/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c b/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c index eac1277a719..e645723299f 100644 --- a/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c +++ b/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c @@ -175,7 +175,6 @@ radeonGetBufferSubData(struct gl_context * ctx, */ static void * radeonMapBuffer(struct gl_context * ctx, - GLenum target, GLenum access, struct gl_buffer_object *obj) { -- cgit v1.2.3