summaryrefslogtreecommitdiff
path: root/indra/llrender/llcubemaparray.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-10-26 10:01:52 +0800
committerErik Kundiman <erik@megapahit.org>2023-10-26 10:01:52 +0800
commit281ca5330e5e1b46268a0bea68af1cdb4270d512 (patch)
tree16d00c08fe3484bdd6f2e376efeadda340e1c582 /indra/llrender/llcubemaparray.cpp
parent92fedbc11e2d69bd51660e24956984cf2503ec71 (diff)
parent3ecce24f9f1a930f9765920a2818e5f5081d696c (diff)
Merge remote-tracking branch 'secondlife/DRTVWR-559' into DRTVWR-559
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 74c2161aa7..5403a0d12c 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);