diff options
author | Ian Romanick <[email protected]> | 2011-08-21 17:37:56 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-23 14:52:10 -0700 |
commit | 4ddae2fb666c86e3267ef6e3d2699f9bfb40d206 (patch) | |
tree | 6ca66a7a163a0646f5eea1e22881141c16836b6d /src/mesa/state_tracker | |
parent | 6c8aa3491a19535e8c39a47a3766bf8524e80582 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 2de56bdb54b..6857c00b08d 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -281,7 +281,7 @@ st_bufferobj_map(struct gl_context *ctx, GLenum access, * Called via glMapBufferRange(). */ static void * -st_bufferobj_map_range(struct gl_context *ctx, GLenum target, +st_bufferobj_map_range(struct gl_context *ctx, GLintptr offset, GLsizeiptr length, GLbitfield access, struct gl_buffer_object *obj) { |