summaryrefslogtreecommitdiff
path: root/indra/llrender/llcubemaparray.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-10-23 13:54:00 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-10-23 13:54:00 -0500
commita29f7c3b4ac50951aa86a71cb6ba20b712533c70 (patch)
tree1e36d98820e109f627b520cc3e3ceb1aeeb07cc0 /indra/llrender/llcubemaparray.cpp
parentbaaf698e29e487244863dc08661fa6754ebd1408 (diff)
SL-20498 Preserve default probe when resetting reflection probes.
Diffstat (limited to 'indra/llrender/llcubemaparray.cpp')
-rw-r--r--indra/llrender/llcubemaparray.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llcubemaparray.cpp b/indra/llrender/llcubemaparray.cpp
index 7d3a92237b..1debd33953 100644
--- a/indra/llrender/llcubemaparray.cpp
+++ b/indra/llrender/llcubemaparray.cpp
@@ -110,6 +110,8 @@ LLCubeMapArray::~LLCubeMapArray()
void LLCubeMapArray::allocate(U32 resolution, U32 components, U32 count, BOOL use_mips)
{
U32 texname = 0;
+ mWidth = resolution;
+ mCount = count;
LLImageGL::generateTextures(1, &texname);