No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
This commit is contained in:
@@ -60,12 +60,12 @@ LLDrawPoolWLSky::LLDrawPoolWLSky(void) :
|
||||
LLDrawPool(POOL_WL_SKY)
|
||||
{
|
||||
const std::string cloudNoiseFilename(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "windlight", "clouds2.tga"));
|
||||
llinfos << "loading WindLight cloud noise from " << cloudNoiseFilename << llendl;
|
||||
LL_INFOS() << "loading WindLight cloud noise from " << cloudNoiseFilename << LL_ENDL;
|
||||
|
||||
LLPointer<LLImageFormatted> cloudNoiseFile(LLImageFormatted::createFromExtension(cloudNoiseFilename));
|
||||
|
||||
if(cloudNoiseFile.isNull()) {
|
||||
llerrs << "Error: Failed to load cloud noise image " << cloudNoiseFilename << llendl;
|
||||
LL_ERRS() << "Error: Failed to load cloud noise image " << cloudNoiseFilename << LL_ENDL;
|
||||
}
|
||||
|
||||
if(cloudNoiseFile->load(cloudNoiseFilename))
|
||||
@@ -75,8 +75,8 @@ LLDrawPoolWLSky::LLDrawPoolWLSky(void) :
|
||||
if(cloudNoiseFile->decode(sCloudNoiseRawImage, 0.0f))
|
||||
{
|
||||
//debug use
|
||||
lldebugs << "cloud noise raw image width: " << sCloudNoiseRawImage->getWidth() << " : height: " << sCloudNoiseRawImage->getHeight() << " : components: " <<
|
||||
(S32)sCloudNoiseRawImage->getComponents() << " : data size: " << sCloudNoiseRawImage->getDataSize() << llendl ;
|
||||
LL_DEBUGS() << "cloud noise raw image width: " << sCloudNoiseRawImage->getWidth() << " : height: " << sCloudNoiseRawImage->getHeight() << " : components: " <<
|
||||
(S32)sCloudNoiseRawImage->getComponents() << " : data size: " << sCloudNoiseRawImage->getDataSize() << LL_ENDL ;
|
||||
llassert_always(sCloudNoiseRawImage->getData()) ;
|
||||
|
||||
sCloudNoiseTexture = LLViewerTextureManager::getLocalTexture(sCloudNoiseRawImage.get(), TRUE);
|
||||
@@ -92,7 +92,7 @@ LLDrawPoolWLSky::LLDrawPoolWLSky(void) :
|
||||
|
||||
LLDrawPoolWLSky::~LLDrawPoolWLSky()
|
||||
{
|
||||
//llinfos << "destructing wlsky draw pool." << llendl;
|
||||
//LL_INFOS() << "destructing wlsky draw pool." << LL_ENDL;
|
||||
sCloudNoiseTexture = NULL;
|
||||
sCloudNoiseRawImage = NULL;
|
||||
}
|
||||
@@ -411,7 +411,7 @@ void LLDrawPoolWLSky::render(S32 pass)
|
||||
|
||||
void LLDrawPoolWLSky::prerender()
|
||||
{
|
||||
//llinfos << "wlsky prerendering pass." << llendl;
|
||||
//LL_INFOS() << "wlsky prerendering pass." << LL_ENDL;
|
||||
}
|
||||
|
||||
LLDrawPoolWLSky *LLDrawPoolWLSky::instancePool()
|
||||
|
||||
Reference in New Issue
Block a user