diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2021-09-21 15:56:18 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2021-09-21 16:10:52 -0700 |
commit | a35544c701b223ba08f0607c872d8afbb08114f5 (patch) | |
tree | 861e742ad5341737e785e039ecbf054cf9ae95e5 /indra/newview/llface.cpp | |
parent | 7fe2856516d9e0de0fda6ff389ad3cc977b2d309 (diff) |
SL-16027: Add Tracy OpenGL support
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 4a802ad9aa..6e55d8f66a 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -585,6 +585,7 @@ void LLFace::renderSelected(LLViewerTexture *imagep, const LLColor4& color) glTexCoordPointer(2, GL_FLOAT, 8, vol_face.mTexCoords); } gGL.syncMatrices(); + LL_PROFILER_GPU_ZONEC( "gl.DrawElements", 0x00FF00 ); glDrawElements(GL_TRIANGLES, vol_face.mNumIndices, GL_UNSIGNED_SHORT, vol_face.mIndices); glDisableClientState(GL_TEXTURE_COORD_ARRAY); } |