summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-21 10:15:18 -0600
committerBrian Paul <brianp@vmware.com>2009-05-21 16:10:45 -0600
commit8fa0cb2b422abaeee1b69f82ca7e9f02dc8393b9 (patch)
treef42bb9d372f6b0ba2600a0230682a97fbe7d6b55 /src/mesa/main/mtypes.h
parent1889890c88c3c10287ca4f84369190cc7029884f (diff)
mesa: added gl_array_object::Weight array field
We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 2708678e64..55bfa2bf41 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1563,6 +1563,7 @@ struct gl_array_object
/** Conventional vertex arrays */
/*@{*/
struct gl_client_array Vertex;
+ struct gl_client_array Weight;
struct gl_client_array Normal;
struct gl_client_array Color;
struct gl_client_array SecondaryColor;