diff options
author | Dave Parks <davep@lindenlab.com> | 2012-04-13 11:55:44 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-04-13 11:55:44 -0500 |
commit | 3efa013ee4e037c2ba20aaf550aa06bcf578b145 (patch) | |
tree | 1808e32d080fa0ff00a5976ca09c21f29e724938 /indra/llrender/llvertexbuffer.cpp | |
parent | 94a6782510b72f0f029bc06be7cfa962082fd73c (diff) |
MAINT-939 Potential fix for crash when editing objects.
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-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 879888d185..1b179bdbb1 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -2287,10 +2287,10 @@ void LLVertexBuffer::setupVertexBuffer(U32 data_mask) stop_glerror(); volatile U8* base = useVBOs() ? (U8*) mAlignedOffset : mMappedData; - /*if ((data_mask & mTypeMask) != data_mask) + if (gDebugGL && ((data_mask & mTypeMask) != data_mask)) { llerrs << "LLVertexBuffer::setupVertexBuffer missing required components for supplied data mask." << llendl; - }*/ + } if (LLGLSLShader::sNoFixedFunction) { |