diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-10-26 10:01:52 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-10-26 10:01:52 +0800 |
commit | 281ca5330e5e1b46268a0bea68af1cdb4270d512 (patch) | |
tree | 16d00c08fe3484bdd6f2e376efeadda340e1c582 /indra/llrender/llcubemaparray.cpp | |
parent | 92fedbc11e2d69bd51660e24956984cf2503ec71 (diff) | |
parent | 3ecce24f9f1a930f9765920a2818e5f5081d696c (diff) |
Merge remote-tracking branch 'secondlife/DRTVWR-559' into DRTVWR-559
Diffstat (limited to 'indra/llrender/llcubemaparray.cpp')
-rw-r--r-- | indra/llrender/llcubemaparray.cpp | 2 |
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); |