projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: add storage_count field to GLvector4f. Useful for debugging.
[mesa.git]
/
src
/
mesa
/
math
/
m_vector.h
diff --git
a/src/mesa/math/m_vector.h
b/src/mesa/math/m_vector.h
index 9112a2b5d568ef7079a750a2878a21af2f122d7a..fcf618a7403cc31aac06fa5a27f3a8cfb76275ca 100644
(file)
--- 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;