aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvosky.cpp')
-rw-r--r--linden/indra/newview/llvosky.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llvosky.cpp b/linden/indra/newview/llvosky.cpp
index 8639b60..817a510 100644
--- a/linden/indra/newview/llvosky.cpp
+++ b/linden/indra/newview/llvosky.cpp
@@ -293,7 +293,7 @@ void LLSkyTex::create(const F32 brightness)
293 293
294void LLSkyTex::createGLImage(S32 which) 294void LLSkyTex::createGLImage(S32 which)
295{ 295{
296 mImageGL[which]->createGLTexture(0, mImageRaw[which], 0, TRUE, LLViewerImageBoostLevel::OTHER); 296 mImageGL[which]->createGLTexture(0, mImageRaw[which]);
297 mImageGL[which]->setAddressMode(LLTexUnit::TAM_CLAMP); 297 mImageGL[which]->setAddressMode(LLTexUnit::TAM_CLAMP);
298} 298}
299 299
@@ -1102,10 +1102,10 @@ BOOL LLVOSky::updateSky()
1102 mLastTotalAmbient.mV[2] - mTotalAmbient.mV[2]); 1102 mLastTotalAmbient.mV[2] - mTotalAmbient.mV[2]);
1103 1103
1104 if ( mForceUpdate 1104 if ( mForceUpdate
1105 || ((dot_lighting < LIGHT_DIRECTION_THRESHOLD) 1105 || (((dot_lighting < LIGHT_DIRECTION_THRESHOLD)
1106 || (delta_color.length() > COLOR_CHANGE_THRESHOLD) 1106 || (delta_color.length() > COLOR_CHANGE_THRESHOLD)
1107 || !mInitialized) 1107 || !mInitialized)
1108 && !direction.isExactlyZero()) 1108 && !direction.isExactlyZero()))
1109 { 1109 {
1110 mLastLightingDirection = direction; 1110 mLastLightingDirection = direction;
1111 mLastTotalAmbient = mTotalAmbient; 1111 mLastTotalAmbient = mTotalAmbient;
@@ -1187,7 +1187,7 @@ BOOL LLVOSky::updateSky()
1187 return TRUE; 1187 return TRUE;
1188} 1188}
1189 1189
1190void LLVOSky::updateTextures() 1190void LLVOSky::updateTextures(LLAgent &agent)
1191{ 1191{
1192 if (mSunTexturep) 1192 if (mSunTexturep)
1193 { 1193 {