summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-03-26 16:25:53 +0000
committerDave Houlton <euclid@lindenlab.com>2020-03-26 16:25:53 +0000
commita248018d6d761025482b3cc6579da5fed185f124 (patch)
tree8213ed8831121e1ba84d258f69c00c90daa3847c /indra/llrender/llvertexbuffer.h
parentc7a2c9564ed5a30a671bc29a992c80f8c6f8c8a1 (diff)
parent126b91f8ee27f52193a71f8eb01c2f2b3bfb36ba (diff)
Merged in euclid_gDebugGL_inf_loop (pull request #46)
Fix infinite loop debug message when debugGL flag is enabled. Approved-by: Michael Pohoreski
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r--indra/llrender/llvertexbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h
index c89d7e3958..9867bd16d6 100644
--- a/indra/llrender/llvertexbuffer.h
+++ b/indra/llrender/llvertexbuffer.h
@@ -179,8 +179,8 @@ public:
TYPE_WEIGHT4,
TYPE_CLOTHWEIGHT,
TYPE_TEXTURE_INDEX,
- TYPE_MAX,
- TYPE_INDEX,
+ TYPE_MAX, // TYPE_MAX is the size/boundary marker for attributes that go in the vertex buffer
+ TYPE_INDEX, // TYPE_INDEX is beyond _MAX because it lives in a separate (index) buffer
};
enum {
MAP_VERTEX = (1<<TYPE_VERTEX),