diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/vbo/vbo_save_draw.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index fd0ccc1230..cf824c66b0 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -332,13 +332,13 @@ vbo_save_playback_vertex_list(struct gl_context *ctx, void *data) if (node->vertex_count > 0) { GLuint min_index = node->start_vertex; GLuint max_index = min_index + node->vertex_count - 1; - vbo_context(ctx)->draw_prims(ctx, - node->prims, - node->prim_count, - NULL, - GL_TRUE, - min_index, max_index, - NULL, 0, NULL); + vbo->draw_prims(ctx, + node->prims, + node->prim_count, + NULL, + GL_TRUE, + min_index, max_index, + NULL, 0, NULL); } } |