[Mesa-dev] [PATCH 1/4] vbo: use vbo local var for draw call in vbo_save_playback_vertex_list()
Brian Paul
brianp at vmware.com
Thu Feb 1 03:39:40 UTC 2018
---
src/mesa/vbo/vbo_save_draw.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index 906ed22..859c605 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -282,13 +282,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);
}
}
--
2.7.4
More information about the mesa-dev
mailing list