diff options
Diffstat (limited to 'linden/indra/newview/llvowlsky.cpp')
-rw-r--r-- | linden/indra/newview/llvowlsky.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llvowlsky.cpp b/linden/indra/newview/llvowlsky.cpp index 159603e..7c8e874 100644 --- a/linden/indra/newview/llvowlsky.cpp +++ b/linden/indra/newview/llvowlsky.cpp | |||
@@ -87,7 +87,7 @@ inline U32 LLVOWLSky::getStarsNumIndices(void) | |||
87 | } | 87 | } |
88 | 88 | ||
89 | LLVOWLSky::LLVOWLSky(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp) | 89 | LLVOWLSky::LLVOWLSky(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp) |
90 | : LLStaticViewerObject(id, pcode, regionp) | 90 | : LLStaticViewerObject(id, pcode, regionp, TRUE) |
91 | { | 91 | { |
92 | initStars(); | 92 | initStars(); |
93 | } | 93 | } |
@@ -488,7 +488,7 @@ void LLVOWLSky::drawStars(void) | |||
488 | if (mStarsVerts.notNull()) | 488 | if (mStarsVerts.notNull()) |
489 | { | 489 | { |
490 | mStarsVerts->setBuffer(LLDrawPoolWLSky::STAR_VERTEX_DATA_MASK); | 490 | mStarsVerts->setBuffer(LLDrawPoolWLSky::STAR_VERTEX_DATA_MASK); |
491 | mStarsVerts->draw(LLVertexBuffer::POINTS, getStarsNumIndices(), 0); | 491 | mStarsVerts->draw(LLRender::POINTS, getStarsNumIndices(), 0); |
492 | } | 492 | } |
493 | } | 493 | } |
494 | 494 | ||
@@ -513,7 +513,7 @@ void LLVOWLSky::drawDome(void) | |||
513 | strips_segment->setBuffer(data_mask); | 513 | strips_segment->setBuffer(data_mask); |
514 | 514 | ||
515 | strips_segment->drawRange( | 515 | strips_segment->drawRange( |
516 | LLVertexBuffer::TRIANGLE_STRIP, | 516 | LLRender::TRIANGLE_STRIP, |
517 | 0, strips_segment->getRequestedVerts()-1, strips_segment->getRequestedIndices(), | 517 | 0, strips_segment->getRequestedVerts()-1, strips_segment->getRequestedIndices(), |
518 | 0); | 518 | 0); |
519 | gPipeline.addTrianglesDrawn(strips_segment->getRequestedIndices() - 2); | 519 | gPipeline.addTrianglesDrawn(strips_segment->getRequestedIndices() - 2); |