diff options
author | Dave Parks <davep@lindenlab.com> | 2012-07-03 14:35:08 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-07-03 14:35:08 -0500 |
commit | d1c056beba8c3558756eac816e26a388a512e0ee (patch) | |
tree | c8ca81ad12200e6d8854f81658c1e809b050a1dd /indra/newview/llvosurfacepatch.cpp | |
parent | 4c4a23226a2db8b1dac5b8d6b8f1537fc9164cf6 (diff) |
MAINT-685 Fix for disabling basic shaders making high detail terrain render incorrectly.
Diffstat (limited to 'indra/newview/llvosurfacepatch.cpp')
-rw-r--r-- | indra/newview/llvosurfacepatch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvosurfacepatch.cpp b/indra/newview/llvosurfacepatch.cpp index 94a3111f4c..cb905d02da 100644 --- a/indra/newview/llvosurfacepatch.cpp +++ b/indra/newview/llvosurfacepatch.cpp @@ -80,9 +80,9 @@ public: glNormalPointer(GL_FLOAT, LLVertexBuffer::sTypeSize[TYPE_NORMAL], (void*)(base + mOffsets[TYPE_NORMAL])); } if (data_mask & MAP_TEXCOORD3) - { //substitute tex coord 0 for tex coord 3 + { //substitute tex coord 1 for tex coord 3 glClientActiveTextureARB(GL_TEXTURE3_ARB); - glTexCoordPointer(2,GL_FLOAT, LLVertexBuffer::sTypeSize[TYPE_TEXCOORD0], (void*)(base + mOffsets[TYPE_TEXCOORD0])); + glTexCoordPointer(2,GL_FLOAT, LLVertexBuffer::sTypeSize[TYPE_TEXCOORD1], (void*)(base + mOffsets[TYPE_TEXCOORD1])); glClientActiveTextureARB(GL_TEXTURE0_ARB); } if (data_mask & MAP_TEXCOORD2) |