From 4ddae2fb666c86e3267ef6e3d2699f9bfb40d206 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Sun, 21 Aug 2011 17:37:56 -0700 Subject: mesa: Remove target parameter from dd_function_table::MapBufferRange 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/nouveau/nouveau_bufferobj.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/nouveau') diff --git a/src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c b/src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c index 87a2bfee093..cf892a893f8 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c @@ -135,8 +135,7 @@ nouveau_bufferobj_map(struct gl_context *ctx, GLenum access, access == GL_READ_WRITE_ARB) flags |= GL_MAP_WRITE_BIT; - return ctx->Driver.MapBufferRange(ctx, 0, 0, obj->Size, flags, - obj); + return ctx->Driver.MapBufferRange(ctx, 0, obj->Size, flags, obj); } static void * -- cgit v1.2.3