From 72cd3ffde708d6434bd45a35d3934584a101cc40 Mon Sep 17 00:00:00 2001 From: Runitai Linden Date: Mon, 6 Dec 2021 17:02:41 -0600 Subject: SL-16447 Fix for broken benchmark. --- indra/llrender/llvertexbuffer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- cgit v1.2.3