aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolwlsky.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/lldrawpoolwlsky.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/lldrawpoolwlsky.cpp')
-rw-r--r--linden/indra/newview/lldrawpoolwlsky.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpoolwlsky.cpp b/linden/indra/newview/lldrawpoolwlsky.cpp
index 01e1af0..8802c1f 100644
--- a/linden/indra/newview/lldrawpoolwlsky.cpp
+++ b/linden/indra/newview/lldrawpoolwlsky.cpp
@@ -55,7 +55,7 @@ LLPointer<LLImageRaw> LLDrawPoolWLSky::sCloudNoiseRawImage = NULL;
55LLDrawPoolWLSky::LLDrawPoolWLSky(void) : 55LLDrawPoolWLSky::LLDrawPoolWLSky(void) :
56 LLDrawPool(POOL_WL_SKY) 56 LLDrawPool(POOL_WL_SKY)
57{ 57{
58 const LLString cloudNoiseFilename(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "windlight", "clouds2.tga")); 58 const std::string cloudNoiseFilename(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "windlight", "clouds2.tga"));
59 llinfos << "loading WindLight cloud noise from " << cloudNoiseFilename << llendl; 59 llinfos << "loading WindLight cloud noise from " << cloudNoiseFilename << llendl;
60 60
61 LLPointer<LLImageFormatted> cloudNoiseFile(LLImageFormatted::createFromExtension(cloudNoiseFilename)); 61 LLPointer<LLImageFormatted> cloudNoiseFile(LLImageFormatted::createFromExtension(cloudNoiseFilename));
@@ -78,7 +78,8 @@ LLDrawPoolWLSky::LLDrawPoolWLSky(void) :
78LLDrawPoolWLSky::~LLDrawPoolWLSky() 78LLDrawPoolWLSky::~LLDrawPoolWLSky()
79{ 79{
80 //llinfos << "destructing wlsky draw pool." << llendl; 80 //llinfos << "destructing wlsky draw pool." << llendl;
81 sCloudNoiseTexture = 0; 81 sCloudNoiseTexture = NULL;
82 sCloudNoiseRawImage = NULL;
82} 83}
83 84
84LLViewerImage *LLDrawPoolWLSky::getDebugTexture() 85LLViewerImage *LLDrawPoolWLSky::getDebugTexture()