Quick fix for a possible merge bug from featurettes. (#1715)

meow-7.2.2
Jonathan "Geenz" Goodman 2024-07-02 11:01:35 -07:00 committed by GitHub
parent 2e836ab06f
commit b276936ef3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -776,9 +776,11 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)
LL_PROFILE_ZONE_SCOPED_CATEGORY_DISPLAY;
if (mRT == &mMainRT)
{ // hacky -- allocate auxillary buffer
gCubeSnapshot = TRUE;
if (sReflectionProbesEnabled)
{
gCubeSnapshot = true;
mReflectionMapManager.initReflectionMaps();
}