summaryrefslogtreecommitdiff
path: root/indra/newview/llvowlsky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvowlsky.cpp')
-rw-r--r--indra/newview/llvowlsky.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llvowlsky.cpp b/indra/newview/llvowlsky.cpp
index 18c03d870f..8391a314f6 100644
--- a/indra/newview/llvowlsky.cpp
+++ b/indra/newview/llvowlsky.cpp
@@ -87,7 +87,7 @@ inline U32 LLVOWLSky::getStarsNumIndices(void)
}
LLVOWLSky::LLVOWLSky(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp)
- : LLStaticViewerObject(id, pcode, regionp)
+ : LLStaticViewerObject(id, pcode, regionp, TRUE)
{
initStars();
}
@@ -488,7 +488,7 @@ void LLVOWLSky::drawStars(void)
if (mStarsVerts.notNull())
{
mStarsVerts->setBuffer(LLDrawPoolWLSky::STAR_VERTEX_DATA_MASK);
- mStarsVerts->draw(LLVertexBuffer::POINTS, getStarsNumIndices(), 0);
+ mStarsVerts->draw(LLRender::POINTS, getStarsNumIndices(), 0);
}
}
@@ -513,7 +513,7 @@ void LLVOWLSky::drawDome(void)
strips_segment->setBuffer(data_mask);
strips_segment->drawRange(
- LLVertexBuffer::TRIANGLE_STRIP,
+ LLRender::TRIANGLE_STRIP,
0, strips_segment->getRequestedVerts()-1, strips_segment->getRequestedIndices(),
0);
gPipeline.addTrianglesDrawn(strips_segment->getRequestedIndices() - 2);