summaryrefslogtreecommitdiff
path: root/indra/newview/llfetchedgltfmaterial.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-11-06 17:04:01 -0800
committerCosmic Linden <cosmic@lindenlab.com>2024-11-06 17:18:49 -0800
commit0674dec8174b367a24805f662ff6dd2a93dc1e86 (patch)
treea6a5db85a7cd25b547319c5fb9b495e7bc0774eb /indra/newview/llfetchedgltfmaterial.h
parent7e479bf89dba7a27c57bf09e346d78eee25ef6f1 (diff)
secondlife/viewer#2991: Fix PBR terrain sometimes not loading textures
Diffstat (limited to 'indra/newview/llfetchedgltfmaterial.h')
-rw-r--r--indra/newview/llfetchedgltfmaterial.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfetchedgltfmaterial.h b/indra/newview/llfetchedgltfmaterial.h
index 634a4853b0..4a33b9f05f 100644
--- a/indra/newview/llfetchedgltfmaterial.h
+++ b/indra/newview/llfetchedgltfmaterial.h
@@ -31,10 +31,14 @@
#include "llviewertexture.h"
class LLGLSLShader;
+class LLGLTFMaterialList;
+class LLTerrainMaterials;
class LLFetchedGLTFMaterial: public LLGLTFMaterial
{
- friend class LLGLTFMaterialList; // for lifetime management
+ // for lifetime management
+ friend class LLGLTFMaterialList;
+ friend class LLTerrainMaterials;
public:
LLFetchedGLTFMaterial();
virtual ~LLFetchedGLTFMaterial();