summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercontrol.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-01-21 16:23:44 -0600
committerDave Parks <davep@lindenlab.com>2011-01-21 16:23:44 -0600
commit3c053b3fdba8bcd86179578a5d492847c0b17458 (patch)
tree50df017153a80cf1f1a6cc8189cfa4706466e58c /indra/newview/llviewercontrol.cpp
parenteac9c45cdad9c96e621f5c84ce51062f40c09511 (diff)
SH-534 Fix for various bump map glitches.
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r--indra/newview/llviewercontrol.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index 444d5cb902..9bf0ae7c3e 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -380,6 +380,7 @@ static bool handleRenderDeferredChanged(const LLSD& newvalue)
gPipeline.updateRenderDeferred();
gPipeline.releaseGLBuffers();
gPipeline.createGLBuffers();
+ gPipeline.resetVertexBuffers();
if (LLPipeline::sRenderDeferred && LLRenderTarget::sUseFBO)
{
LLViewerShaderMgr::instance()->setShaders();