diff options
author | Runitai Linden <davep@lindenlab.com> | 2021-12-06 17:02:41 -0600 |
---|---|---|
committer | Runitai Linden <davep@lindenlab.com> | 2021-12-06 17:02:41 -0600 |
commit | 72cd3ffde708d6434bd45a35d3934584a101cc40 (patch) | |
tree | 9cd5cbd2258bed129469b675f050ea9249245a89 /indra | |
parent | 958df7398b6c4405aa053f4681ad5417197deed8 (diff) |
SL-16447 Fix for broken benchmark.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index dcce5a5a1d..9926447ef8 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -734,10 +734,12 @@ void LLVertexBuffer::drawArrays(U32 mode, U32 first, U32 count) const } #endif + LLGLSLShader::startProfile(); { LL_PROFILER_GPU_ZONEC("gl.DrawArrays", 0xFF4040) glDrawArrays(sGLMode[mode], first, count); } + LLGLSLShader::stopProfile(count, mode); stop_glerror(); placeFence(); |