SL-16447 Fix for broken benchmark.
parent
958df7398b
commit
72cd3ffde7
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue