diff options
author | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2016-10-20 16:50:35 +0000 |
---|---|---|
committer | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2016-10-20 16:50:35 +0000 |
commit | 0ac937200b04477994ce9c729bbda881e36288d3 (patch) | |
tree | 90c10b2234f6ce45147b89ea6cacfcb24594e341 /indra/llrender | |
parent | 10f7847c8b3e2b27776064e5743e13b90e214b21 (diff) | |
parent | a47896f4b917340fe6e27fd0687275c38dbad401 (diff) |
Merged in ruslantproductengine/viewer-neko-ruslant-4-cr (pull request #60)
MAINT-5018 crashing when touching mesh
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index 0fae600a90..31dffdd545 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -448,7 +448,7 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask) else { - GLenum array[] = + static const GLenum array[] = { GL_VERTEX_ARRAY, GL_NORMAL_ARRAY, @@ -456,7 +456,7 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask) GL_COLOR_ARRAY, }; - GLenum mask[] = + static const GLenum mask[] = { MAP_VERTEX, MAP_NORMAL, |