summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-02-23 20:11:01 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-02-23 20:11:01 -0700
commitae65347e3391be56b8919349a269e0abe52cf656 (patch)
tree3e6caf8bae518326cd4e2cbf0294c856adbea92f /indra/llrender
parent844bf22d250833b000d306b9179580d6e032a632 (diff)
fix an exit crash.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index efd0a11b88..fd899d7f87 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -800,6 +800,7 @@ void LLRender::shutdown()
mTexUnits.clear();
delete mDummyTexUnit;
mDummyTexUnit = NULL;
+ mBuffer = NULL ;
}
void LLRender::refreshState(void)