mesa: add storage_count field to GLvector4f. Useful for debugging.
[mesa.git] / src / mesa / math / m_vector.h
index 9112a2b5d568ef7079a750a2878a21af2f122d7a..fcf618a7403cc31aac06fa5a27f3a8cfb76275ca 100644 (file)
@@ -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;