diff options
author | Robin Cornelius | 2010-10-10 22:10:33 +0100 |
---|---|---|
committer | Robin Cornelius | 2010-10-10 22:10:33 +0100 |
commit | b3b30285126289f54b57bd42569bb0721e40e088 (patch) | |
tree | f4aaccb98d1a835c4ea376ec2803fc410a704052 /linden/indra/newview/llvosky.cpp | |
parent | Merge branch 'mccabe-plugins' into plugins_merge (diff) | |
download | meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.zip meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.tar.gz meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.tar.bz2 meta-impy-b3b30285126289f54b57bd42569bb0721e40e088.tar.xz |
Revert "port of LL renderpipeline/Kirstens S19 pipeline for bridging to Viewer 2 texture system"
This reverts commit 087e15e89930d51c3964329befb273ae3b2d330d.
Conflicts:
linden/indra/newview/llsurface.cpp
linden/indra/newview/llviewerwindow.cpp
linden/indra/newview/llvoavatar.cpp
linden/indra/newview/pipeline.cpp
linden/indra/newview/pipeline.h
Diffstat (limited to 'linden/indra/newview/llvosky.cpp')
-rw-r--r-- | linden/indra/newview/llvosky.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llvosky.cpp b/linden/indra/newview/llvosky.cpp index 817a510..8639b60 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 | ||
294 | void LLSkyTex::createGLImage(S32 which) | 294 | void LLSkyTex::createGLImage(S32 which) |
295 | { | 295 | { |
296 | mImageGL[which]->createGLTexture(0, mImageRaw[which]); | 296 | mImageGL[which]->createGLTexture(0, mImageRaw[which], 0, TRUE, LLViewerImageBoostLevel::OTHER); |
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 | ||
1190 | void LLVOSky::updateTextures(LLAgent &agent) | 1190 | void LLVOSky::updateTextures() |
1191 | { | 1191 | { |
1192 | if (mSunTexturep) | 1192 | if (mSunTexturep) |
1193 | { | 1193 | { |