summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-10-06 17:21:09 -0600
committerBrian Paul <brianp@vmware.com>2016-10-13 17:38:49 -0600
commitc89802aeeaee35e06c98a41dd630a60e8e7e4123 (patch)
treed6bcc7383a29e5a2ac48c519ecc92a68c516f673 /src/mesa/main/mtypes.h
parentc328268b9292664bd5de73ee39ed8b91ccfb38d1 (diff)
downloadexternal_mesa3d-c89802aeeaee35e06c98a41dd630a60e8e7e4123.zip
external_mesa3d-c89802aeeaee35e06c98a41dd630a60e8e7e4123.tar.gz
external_mesa3d-c89802aeeaee35e06c98a41dd630a60e8e7e4123.tar.bz2
mesa: rename gl_vertex_attrib_array::VertexBinding
Rename to gl_vertex_attrib_array::BufferBindingIndex because this field is an index into the array of buffer binding points. This makes some code a little easier to follow since there's also a "VertexBinding" field in gl_vertex_array_object. Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 61d6bf1..a639fd2 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1376,7 +1376,7 @@ struct gl_vertex_attrib_array
GLboolean Integer; /**< Fixed-point values are not converted to floats */
GLboolean Doubles; /**< double precision values are not converted to floats */
GLuint _ElementSize; /**< Size of each element in bytes */
- GLuint VertexBinding; /**< Vertex buffer binding */
+ GLuint BufferBindingIndex; /**< Vertex buffer binding */
};