summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-03 18:38:52 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-03 18:38:52 +0000
commit36be134aee952cd35bb1ecbf6d2d2c2490a3fe5b (patch)
treeb7431bc372f2bbf36aed3d8888c5f051110d719b /indra/llrender
parent75aec285349747b09077b576c7ec15838c4132f2 (diff)
CID-292
Checker: UNINIT_CTOR Function: LLRender::LLRender() File: /indra/llrender/llrender.cpp
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index f97d81126e..595b8577ff 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -733,8 +733,11 @@ void LLTexUnit::debugTextureUnit(void)
LLRender::LLRender()
-: mDirty(false), mCount(0), mMode(LLRender::TRIANGLES),
- mMaxAnisotropy(0.f)
+ : mDirty(false),
+ mCount(0),
+ mMode(LLRender::TRIANGLES),
+ mCurrTextureUnitIndex(0),
+ mMaxAnisotropy(0.f)
{
mBuffer = new LLVertexBuffer(immediate_mask, 0);
mBuffer->allocateBuffer(4096, 0, TRUE);