SL-16447 Fix for broken benchmark.

master
Runitai Linden 2021-12-06 17:02:41 -06:00
parent 958df7398b
commit 72cd3ffde7
1 changed files with 2 additions and 0 deletions

View File

@ -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();