summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-03-13 10:45:37 -0500
committerDave Parks <davep@lindenlab.com>2023-03-13 10:45:37 -0500
commit14293833c9c54411633b4851174e12eea51c2b0c (patch)
treed101c9683a8ce902ed4fa0cfd3b90925579592af
parentcdc04d20412c58d0f60a001ecaecb18f3cac5e62 (diff)
DRTVWR-559 Fix for GL error on Intel Iris GPU.
-rw-r--r--indra/newview/llreflectionmapmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp
index 90c4436a04..c664dbbe9e 100644
--- a/indra/newview/llreflectionmapmanager.cpp
+++ b/indra/newview/llreflectionmapmanager.cpp
@@ -94,7 +94,7 @@ void LLReflectionMapManager::update()
if (!mRenderTarget.isComplete())
{
- U32 color_fmt = GL_RGB16;
+ U32 color_fmt = GL_RGB16F;
U32 targetRes = mProbeResolution * 4; // super sample
mRenderTarget.allocate(targetRes, targetRes, color_fmt, true);
}
@@ -107,7 +107,7 @@ void LLReflectionMapManager::update()
mMipChain.resize(count);
for (int i = 0; i < count; ++i)
{
- mMipChain[i].allocate(res, res, GL_RGB16);
+ mMipChain[i].allocate(res, res, GL_RGB16F);
res /= 2;
}
}