vbo: add comment that vbo_save_vertex_list::buffer_offset is in bytes
authorBrian Paul <brianp@vmware.com>
Fri, 12 Jan 2018 16:57:29 +0000 (09:57 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000 (11:17 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/vbo/vbo_save.h

index 32782b13e70b17f523c7194c6da9d83eafdba12d..9d13e0aa18d5d952633fc6fd35213744a5069508 100644 (file)
@@ -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