diff options
author | Ian Romanick <[email protected]> | 2011-08-21 17:30:35 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-23 14:52:09 -0700 |
commit | 6c8aa3491a19535e8c39a47a3766bf8524e80582 (patch) | |
tree | f3c877053aa78e5fdf0eaa73321835fa915a03ee /src/mesa/vbo/vbo_save_draw.c | |
parent | 92f3fca0ea429dcf07123e63447449db53308266 (diff) |
mesa: Remove target parameter from dd_function_table::GetBufferSubData
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_save_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index 52952a57ec8..e7996f29307 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -70,7 +70,7 @@ _playback_copy_to_current(struct gl_context *ctx, else offset = node->buffer_offset; - ctx->Driver.GetBufferSubData( ctx, 0, offset, + ctx->Driver.GetBufferSubData( ctx, offset, node->vertex_size * sizeof(GLfloat), data, node->vertex_store->bufferobj ); |