diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-02-16 09:49:45 -0800 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-02-16 12:59:23 -0800 |
commit | 3e4e414011b032e64b5fd477f2c561fc2b4553f7 (patch) | |
tree | 6a608482916a4ada71aa852940c5b624ca28577b /indra/newview/lldynamictexture.cpp | |
parent | 1552ee3a5d72a1d6b2dc536d033d4c2d8f2e74ee (diff) |
secondlife/viewer-issues#72: Material preview shouldRender should return false if no render needed
Diffstat (limited to 'indra/newview/lldynamictexture.cpp')
-rw-r--r-- | indra/newview/lldynamictexture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldynamictexture.cpp b/indra/newview/lldynamictexture.cpp index a66c3876fc..f8a6195bdd 100644 --- a/indra/newview/lldynamictexture.cpp +++ b/indra/newview/lldynamictexture.cpp @@ -118,6 +118,8 @@ BOOL LLViewerDynamicTexture::render() //----------------------------------------------------------------------------- void LLViewerDynamicTexture::preRender(BOOL clear_depth) { + LL_PROFILE_ZONE_SCOPED_CATEGORY_UI; + //use the bottom left corner mOrigin.set(0, 0); |