[Mesa-dev] [PATCH 2/4] vbo: fix, add comment in vbo_save.h

Brian Paul brianp at vmware.com
Wed Jan 17 22:56:59 UTC 2018


---
 src/mesa/vbo/vbo_save.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h
index 274d667..04b9e38 100644
--- a/src/mesa/vbo/vbo_save.h
+++ b/src/mesa/vbo/vbo_save.h
@@ -88,7 +88,7 @@ struct vbo_save_vertex_list {
 
 
 /**
- * Is the vertex lists's buffer offset an exact multiple of the
+ * Is the vertex list's buffer offset an exact multiple of the
  * vertex size (in bytes)?  This is used to check for a vertex array /
  * drawing optimization.
  */
@@ -123,7 +123,7 @@ aligned_vertex_buffer_offset(const struct vbo_save_vertex_list *node)
 struct vbo_save_vertex_store {
    struct gl_buffer_object *bufferobj;
    fi_type *buffer_map;
-   GLuint used;
+   GLuint used;           /**< Number of 4-byte words used in buffer */
    GLuint refcount;
 };
 
-- 
2.7.4



More information about the mesa-dev mailing list