Skip to content
Snippets Groups Projects
Commit 14293833 authored by David Parks's avatar David Parks
Browse files

DRTVWR-559 Fix for GL error on Intel Iris GPU.

parent cdc04d20
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ void LLReflectionMapManager::update() ...@@ -94,7 +94,7 @@ void LLReflectionMapManager::update()
if (!mRenderTarget.isComplete()) if (!mRenderTarget.isComplete())
{ {
U32 color_fmt = GL_RGB16; U32 color_fmt = GL_RGB16F;
U32 targetRes = mProbeResolution * 4; // super sample U32 targetRes = mProbeResolution * 4; // super sample
mRenderTarget.allocate(targetRes, targetRes, color_fmt, true); mRenderTarget.allocate(targetRes, targetRes, color_fmt, true);
} }
...@@ -107,7 +107,7 @@ void LLReflectionMapManager::update() ...@@ -107,7 +107,7 @@ void LLReflectionMapManager::update()
mMipChain.resize(count); mMipChain.resize(count);
for (int i = 0; i < count; ++i) for (int i = 0; i < count; ++i)
{ {
mMipChain[i].allocate(res, res, GL_RGB16); mMipChain[i].allocate(res, res, GL_RGB16F);
res /= 2; res /= 2;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment