mesa: Remove target parameter from dd_function_table::UnmapBuffer
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 <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -1622,9 +1622,7 @@ void _ae_unmap_vbos( struct gl_context *ctx )
|
||||
assert (!actx->NewState);
|
||||
|
||||
for (i = 0; i < actx->nr_vbos; i++)
|
||||
ctx->Driver.UnmapBuffer(ctx,
|
||||
GL_ARRAY_BUFFER_ARB,
|
||||
actx->vbo[i]);
|
||||
ctx->Driver.UnmapBuffer(ctx, actx->vbo[i]);
|
||||
|
||||
actx->mapped_vbos = GL_FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user