diff options
author | Brian Paul <[email protected]> | 2018-01-19 21:44:20 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-29 08:35:14 -0700 |
commit | 41cd3ee5a2bcb8b542c58e886442eb752b013ec7 (patch) | |
tree | 243b4d60797bf6f22313c3ba0faeb9deb11d0464 /src/mesa/vbo/vbo_attrib_tmp.h | |
parent | 425da3bbfc598d3b64a025e0c43b1bcb63f845e9 (diff) |
vbo: s/VBO_ATTRIB_INDEX/VBO_ATTRIB_COLOR_INDEX/
To match the VERT_ATTRIB_COLOR_INDEX name.
Give a name to the previously anonymous enum of VBO_ATTRIB_x values.
Update the comment on the enum.
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_attrib_tmp.h')
-rw-r--r-- | src/mesa/vbo/vbo_attrib_tmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_attrib_tmp.h b/src/mesa/vbo/vbo_attrib_tmp.h index 126e4ef0d6e..fd24e571c7e 100644 --- a/src/mesa/vbo/vbo_attrib_tmp.h +++ b/src/mesa/vbo/vbo_attrib_tmp.h @@ -445,14 +445,14 @@ static void GLAPIENTRY TAG(Indexf)(GLfloat f) { GET_CURRENT_CONTEXT(ctx); - ATTR1F(VBO_ATTRIB_INDEX, f); + ATTR1F(VBO_ATTRIB_COLOR_INDEX, f); } static void GLAPIENTRY TAG(Indexfv)(const GLfloat * f) { GET_CURRENT_CONTEXT(ctx); - ATTR1FV(VBO_ATTRIB_INDEX, f); + ATTR1FV(VBO_ATTRIB_COLOR_INDEX, f); } |