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

MAINT-1092 Fix for broken avatar bakes on some AMD graphics cards.

parent aa0a0542
No related branches found
No related tags found
No related merge requests found
...@@ -216,12 +216,14 @@ BOOL LLViewerDynamicTexture::updateAllInstances() ...@@ -216,12 +216,14 @@ BOOL LLViewerDynamicTexture::updateAllInstances()
return TRUE; return TRUE;
} }
#if 0 //THIS CAUSES MAINT-1092
bool use_fbo = gGLManager.mHasFramebufferObject && gPipeline.mWaterDis.isComplete(); bool use_fbo = gGLManager.mHasFramebufferObject && gPipeline.mWaterDis.isComplete();
if (use_fbo) if (use_fbo)
{ {
gPipeline.mWaterDis.bindTarget(); gPipeline.mWaterDis.bindTarget();
} }
#endif
LLGLSLShader::bindNoShader(); LLGLSLShader::bindNoShader();
LLVertexBuffer::unbind(); LLVertexBuffer::unbind();
...@@ -256,10 +258,12 @@ BOOL LLViewerDynamicTexture::updateAllInstances() ...@@ -256,10 +258,12 @@ BOOL LLViewerDynamicTexture::updateAllInstances()
} }
} }
#if 0
if (use_fbo) if (use_fbo)
{ {
gPipeline.mWaterDis.flush(); gPipeline.mWaterDis.flush();
} }
#endif
return ret; return ret;
} }
......
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