Skip to content

Commit 5688162

Browse files
committed
Disable cubemap array copy constructor due to GL errors
1 parent a84ef80 commit 5688162

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

indra/newview/llreflectionmapmanager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,13 +1442,15 @@ void LLReflectionMapManager::initReflectionMaps()
14421442
mTexture->getWidth() != mProbeResolution ||
14431443
mReflectionProbeCount + 2 != mTexture->getCount())
14441444
{
1445+
#if 0 // LLCubeMapArray copy critically flawed
14451446
if (mTexture)
14461447
{
14471448
mTexture = new LLCubeMapArray(*mTexture, mProbeResolution, mReflectionProbeCount + 2);
14481449

14491450
mIrradianceMaps = new LLCubeMapArray(*mIrradianceMaps, LL_IRRADIANCE_MAP_RESOLUTION, mReflectionProbeCount);
14501451
}
14511452
else
1453+
#endif
14521454
{
14531455
mTexture = new LLCubeMapArray();
14541456

0 commit comments

Comments
 (0)