about summary refs log tree commit diff
path: root/generator/pamtris/triangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'generator/pamtris/triangle.h')
-rw-r--r--generator/pamtris/triangle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/pamtris/triangle.h b/generator/pamtris/triangle.h
index 79178ad0..e043e95c 100644
--- a/generator/pamtris/triangle.h
+++ b/generator/pamtris/triangle.h
@@ -13,7 +13,7 @@ typedef struct {
 } Xy;
 
 typedef struct {
-    int32_t _[3][MAX_NUM_ATTRIBS + 1];
+    int32_t _[3][MAX_NUM_ATTRIBS + 2];
 } Attribs;
 
 void