From 2064c4e8144b401420fa9e0d603560baf9ef104c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Jan 2018 09:57:29 -0700 Subject: vbo: add comment that vbo_save_vertex_list::buffer_offset is in bytes Reviewed-by: Ian Romanick --- src/mesa/vbo/vbo_save.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/vbo/vbo_save.h') diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h index 32782b13e70..9d13e0aa18d 100644 --- a/src/mesa/vbo/vbo_save.h +++ b/src/mesa/vbo/vbo_save.h @@ -73,7 +73,7 @@ struct vbo_save_vertex_list { fi_type *current_data; GLuint current_size; - GLuint buffer_offset; + GLuint buffer_offset; /**< in bytes */ GLuint vertex_count; GLuint wrap_count; /* number of copied vertices at start */ GLboolean dangling_attr_ref; /* current attr implicitly referenced -- cgit v1.2.3