diff options
author | Dave Parks <davep@lindenlab.com> | 2011-03-04 15:04:46 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-03-04 15:04:46 -0600 |
commit | 04284652cfce57b0df3bc6b12f7568fa8da22ebb (patch) | |
tree | 34aa8cb5507969ab468592de3674c85a7ae62b15 /indra/newview/pipeline.cpp | |
parent | 5cf5e4bb888e67dc1dd79eaec491b242a7f3a903 (diff) |
SH-1066 Fix for bumpmaps not loading properly after enabling deferred rendering.
(transplanted from 30156869364d642a378411539bbca86068e29b77)
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-x | indra/newview/pipeline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index a533be675c..404e8cbdb9 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -836,6 +836,7 @@ void LLPipeline::releaseGLBuffers() mGlow[i].release(); } + gBumpImageList.destroyGL(); LLVOAvatar::resetImpostors(); } @@ -958,6 +959,8 @@ void LLPipeline::createGLBuffers() addDeferredAttachments(mGIMap); } } + + gBumpImageList.restoreGL(); } void LLPipeline::restoreGL() |