summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2022-11-01 10:15:37 -0700
committerBrad Kittenbrink <brad@lindenlab.com>2022-11-01 10:15:37 -0700
commita0e7dd45d950eef1c8f6bcc33f4035629189a7b9 (patch)
tree3e8d4659c9267fa57f4e361631bcc28a1c93ec78
parente6fb0a9397e77cf5d93765f03d1773527ceee303 (diff)
Fix mac build for DRTVWR-559. PROFILE_ZONE_SCOPED macro cant take an argument
-rw-r--r--indra/newview/llgltfmateriallist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp
index a4033f0d4d..dabacccf66 100644
--- a/indra/newview/llgltfmateriallist.cpp
+++ b/indra/newview/llgltfmateriallist.cpp
@@ -246,7 +246,7 @@ LLGLTFMaterial* LLGLTFMaterialList::getMaterial(const LLUUID& id)
gAssetStorage->getAssetData(id, LLAssetType::AT_MATERIAL,
[=](const LLUUID& id, LLAssetType::EType asset_type, void* user_data, S32 status, LLExtStat ext_status)
{
- LL_PROFILE_ZONE_SCOPED("gltf asset callback");
+ LL_PROFILE_ZONE_NAMED("gltf asset callback");
if (status)
{
LL_WARNS() << "Error getting material asset data: " << LLAssetStorage::getErrorString(status) << " (" << status << ")" << LL_ENDL;
@@ -255,7 +255,7 @@ LLGLTFMaterial* LLGLTFMaterialList::getMaterial(const LLUUID& id)
std::vector<char> buffer;
{
- LL_PROFILE_ZONE_SCOPED("gltf read asset");
+ LL_PROFILE_ZONE_NAMED("gltf read asset");
LLFileSystem file(id, asset_type, LLFileSystem::READ);
auto size = file.getSize();
if (!size)
@@ -273,7 +273,7 @@ LLGLTFMaterial* LLGLTFMaterialList::getMaterial(const LLUUID& id)
}
{
- LL_PROFILE_ZONE_SCOPED("gltf deserialize asset");
+ LL_PROFILE_ZONE_NAMED("gltf deserialize asset");
LLSD asset;