summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 16:51:46 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 16:51:46 -0800
commit056ca2ae5c1a145483c75e85fa7b1bee746b2627 (patch)
treef26b7ded0ba9be45faea95f77c49b0ca52bc8697 /indra/newview
parent63aef899bc6274d2b7fd90de8ed7e01cb6bb7359 (diff)
CID-359
Checker: UNINIT_CTOR Function: LLLocalTextureObject::LLLocalTextureObject(LLViewerFetchedTexture *, const LLUUID &) File: /indra/newview/lllocaltextureobject.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lllocaltextureobject.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lllocaltextureobject.cpp b/indra/newview/lllocaltextureobject.cpp
index 6bcbe6f58c..69eb5fce2f 100644
--- a/indra/newview/lllocaltextureobject.cpp
+++ b/indra/newview/lllocaltextureobject.cpp
@@ -47,7 +47,9 @@ LLLocalTextureObject::LLLocalTextureObject() :
mImage = NULL;
}
-LLLocalTextureObject::LLLocalTextureObject(LLViewerFetchedTexture* image, const LLUUID& id)
+LLLocalTextureObject::LLLocalTextureObject(LLViewerFetchedTexture* image, const LLUUID& id) :
+ mIsBakedReady(FALSE),
+ mDiscard(MAX_DISCARD_LEVEL+1)
{
mImage = image;
gGL.getTexUnit(0)->bind(mImage);