diff options
author | Ian Romanick <[email protected]> | 2011-08-21 16:59:30 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-23 14:52:08 -0700 |
commit | 56f0c00f125ee75caeadc1c9e8cab8a488635e5e (patch) | |
tree | 0c3a7edb449a8e862ff92c3128b8f1ae4d678580 /src/mesa/vbo/vbo_save_api.c | |
parent | 0457655035cda3678208cd2850fa75a364a59ca9 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 9041f791edd..00f34ad1ec0 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -247,7 +247,7 @@ static void unmap_vertex_store(struct gl_context *ctx, struct vbo_save_vertex_store *vertex_store) { - ctx->Driver.UnmapBuffer(ctx, GL_ARRAY_BUFFER_ARB, vertex_store->bufferobj); + ctx->Driver.UnmapBuffer(ctx, vertex_store->bufferobj); vertex_store->buffer = NULL; } |