summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_vector.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-06 15:09:18 -0600
committerBrian Paul <[email protected]>2009-05-07 10:12:33 -0600
commit1f75c2daeae71985ec3b9fd8f1431aa33ae35d1e (patch)
tree3294f3bd682840c252e6c3b1ace87c45ca698542 /src/mesa/math/m_vector.h
parent828aa76f360c96adea1725380c397d04690bfd04 (diff)
mesa: add storage_count field to GLvector4f. Useful for debugging.
Diffstat (limited to 'src/mesa/math/m_vector.h')
-rw-r--r--src/mesa/math/m_vector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/math/m_vector.h b/src/mesa/math/m_vector.h
index 9112a2b5d56..fcf618a7403 100644
--- a/src/mesa/math/m_vector.h
+++ b/src/mesa/math/m_vector.h
@@ -67,6 +67,7 @@ typedef struct {
GLuint size; /**< 2-4 for vertices and 1-4 for texcoords */
GLuint flags; /**< which columns are dirty */
void *storage; /**< self-allocated storage */
+ GLuint storage_count; /**< storage size in elements */
} GLvector4f;