diff options
author | Merov Linden <merov@lindenlab.com> | 2014-12-19 06:00:48 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-12-19 06:00:48 -0800 |
commit | b0f590f6ab4033503ff9d80e2374e374397d40fb (patch) | |
tree | 97e9758c011105b48218cbd2e611c51cc967520d /indra/llrender/llvertexbuffer.cpp | |
parent | d0d5a6a15cf3c573c89ce590030c7a150b19dd05 (diff) | |
parent | 4ec9bce3c2a715f53938e4568c95b7a2bdfc9e16 (diff) |
Pull merge from lindenlab/viewer-release
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rwxr-xr-x | indra/llrender/llvertexbuffer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index d06564df36..0fae600a90 100755 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -843,9 +843,11 @@ void LLVertexBuffer::drawArrays(U32 mode, U32 first, U32 count) const { LL_RECORD_BLOCK_TIME(FTM_GL_DRAW_ARRAYS); stop_glerror(); - LLGLSLShader::startProfile(); + LLGLSLShader::startProfile(); + stop_glerror(); glDrawArrays(sGLMode[mode], first, count); - LLGLSLShader::stopProfile(count, mode); + stop_glerror(); + LLGLSLShader::stopProfile(count, mode); } stop_glerror(); |