summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-12 09:57:29 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commit2064c4e8144b401420fa9e0d603560baf9ef104c (patch)
treec39d928ca773dfbf1fe615cc6aabca1aae775ab3 /src/mesa
parent8b06acf642b183f8203876925639c6d6e2d5fe01 (diff)
vbo: add comment that vbo_save_vertex_list::buffer_offset is in bytes
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/vbo/vbo_save.h2
1 files changed, 1 insertions, 1 deletions
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