summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-04 15:04:46 -0600
committerDave Parks <davep@lindenlab.com>2011-03-04 15:04:46 -0600
commit6a86c65e46f92f1a955d31e2d0b9d7ffcd171134 (patch)
tree7add194681986fa079e7ef17c19984d97b75b781 /indra/newview/pipeline.cpp
parentf6c7fdf6f274cfaafd7a3304c70b06d7b752aec9 (diff)
SH-1066 Fix for bumpmaps not loading properly after enabling deferred rendering.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-xindra/newview/pipeline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index c1d1a69dfb..6af371072b 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -824,6 +824,7 @@ void LLPipeline::releaseGLBuffers()
mGlow[i].release();
}
+ gBumpImageList.destroyGL();
LLVOAvatar::resetImpostors();
}
@@ -946,6 +947,8 @@ void LLPipeline::createGLBuffers()
addDeferredAttachments(mGIMap);
}
}
+
+ gBumpImageList.restoreGL();
}
void LLPipeline::restoreGL()