diff options
author | Ian Romanick <[email protected]> | 2011-08-21 17:07:56 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-23 14:52:09 -0700 |
commit | 12d924c5ae14a1c6a05a3dcae29b77e7668e227d (patch) | |
tree | cd2ae20d8e2574be4a42d15cfc2eb3a4669eef4c /src/mesa/vbo/vbo_exec_draw.c | |
parent | 56f0c00f125ee75caeadc1c9e8cab8a488635e5e (diff) |
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 <[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/vbo/vbo_exec_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index 5366b989df2..07c5c969453 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -342,7 +342,7 @@ vbo_exec_vtx_map( struct vbo_exec_context *exec ) exec->vtx.bufferobj); if (!exec->vtx.buffer_map) exec->vtx.buffer_map = - (GLfloat *)ctx->Driver.MapBuffer(ctx, target, access, exec->vtx.bufferobj); + (GLfloat *)ctx->Driver.MapBuffer(ctx, access, exec->vtx.bufferobj); assert(exec->vtx.buffer_map); exec->vtx.buffer_ptr = exec->vtx.buffer_map; } |