diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/lldrawpoolwlsky.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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.cpp | 5 |
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; | |||
55 | LLDrawPoolWLSky::LLDrawPoolWLSky(void) : | 55 | LLDrawPoolWLSky::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) : | |||
78 | LLDrawPoolWLSky::~LLDrawPoolWLSky() | 78 | LLDrawPoolWLSky::~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 | ||
84 | LLViewerImage *LLDrawPoolWLSky::getDebugTexture() | 85 | LLViewerImage *LLDrawPoolWLSky::getDebugTexture() |