mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-28 10:00:46 +00:00
vbo: minor code simplification in _save_compile_vertex_list()
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
4acc8a0de3
commit
8b06acf642
@ -501,10 +501,11 @@ _save_compile_vertex_list(struct gl_context *ctx)
|
||||
|
||||
_glapi_set_dispatch(ctx->Exec);
|
||||
|
||||
vbo_loopback_vertex_list(ctx,
|
||||
(const GLfloat *) ((const char *) save->
|
||||
vertex_store->buffer_map +
|
||||
node->buffer_offset),
|
||||
const GLfloat *buffer = (const GLfloat *)
|
||||
((const char *) save->vertex_store->buffer_map +
|
||||
node->buffer_offset);
|
||||
|
||||
vbo_loopback_vertex_list(ctx, buffer,
|
||||
node->attrsz, node->prims, node->prim_count,
|
||||
node->wrap_count, node->vertex_size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user