summaryrefslogtreecommitdiff
path: root/indra/newview/llsky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llsky.cpp')
-rw-r--r--indra/newview/llsky.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llsky.cpp b/indra/newview/llsky.cpp
index 022f02c57e..02f3855ace 100644
--- a/indra/newview/llsky.cpp
+++ b/indra/newview/llsky.cpp
@@ -347,7 +347,7 @@ void LLSky::updateCull()
if (mVOStarsp.notNull() && mVOStarsp->mDrawable.notNull())
{
- gPipeline.markVisible(mVOStarsp->mDrawable);
+ gPipeline.markVisible(mVOStarsp->mDrawable, *gCamera);
}
else
{
@@ -372,10 +372,10 @@ void LLSky::updateSky()
}
if (mVOStarsp)
{
- if (mVOStarsp->mDrawable)
- {
- gPipeline.markRebuild(mVOStarsp->mDrawable, LLDrawable::REBUILD_VOLUME, TRUE);
- }
+ //if (mVOStarsp->mDrawable)
+ //{
+ // gPipeline.markRebuild(mVOStarsp->mDrawable, LLDrawable::REBUILD_VOLUME, TRUE);
+ //}
}
}