summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendernavprim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/llrendernavprim.cpp')
-rw-r--r--indra/llrender/llrendernavprim.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llrender/llrendernavprim.cpp b/indra/llrender/llrendernavprim.cpp
index fb762b0870..d6da722e0c 100644
--- a/indra/llrender/llrendernavprim.cpp
+++ b/indra/llrender/llrendernavprim.cpp
@@ -35,7 +35,7 @@
//=============================================================================
LLRenderNavPrim gRenderNav;
//=============================================================================
-void LLRenderNavPrim::renderSegment( const LLVector3& start, const LLVector3& end, int color ) const
+void LLRenderNavPrim::renderLLSegment( const LLVector3& start, const LLVector3& end, const LLColor4U& color ) const
{
LLColor4 colorA( color );
gGL.color3fv( colorA.mV );
@@ -81,7 +81,7 @@ void LLRenderNavPrim::renderNavMeshVB( LLVertexBuffer* pVBO, int vertCnt )
pVBO->drawArrays( LLRender::TRIANGLES, 0, vertCnt );
}
//=============================================================================
-void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, int color ) const
+void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, const LLColor4U& color ) const
{
for (int k=0; k<3; k++)
{
@@ -90,7 +90,7 @@ void LLRenderNavPrim::renderStar( const LLVector3& center, const float scale, in
star[k] = 0.5f;
pt1 = center + star;
pt2 = center - star;
- renderSegment( pt1, pt2, color );
+ renderLLSegment( pt1, pt2, color );
}
}
//=============================================================================