diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llrendernavprim.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/llrender/llrendernavprim.cpp b/indra/llrender/llrendernavprim.cpp index ac8d45789c..3d76f08496 100644 --- a/indra/llrender/llrendernavprim.cpp +++ b/indra/llrender/llrendernavprim.cpp @@ -86,11 +86,10 @@ void LLRenderNavPrim::renderTri( const LLVector3& a, const LLVector3& b, const L void LLRenderNavPrim::renderNavMeshVB( LLVertexBuffer* pVBO, int vertCnt )
{
LLGLSUIDefault gls_ui;
+ glEnable( GL_DEPTH_TEST );
+ LLGLEnable cull( GL_CULL_FACE );
glLineWidth(1.5f);
- LLGLSLShader::sNoFixedFunction = false;
-
- glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
- LLGLEnable cull( GL_CULL_FACE ); + LLGLSLShader::sNoFixedFunction = false; //pass 1 filled
pVBO->setBuffer( LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_COLOR | LLVertexBuffer::MAP_NORMAL );
pVBO->drawArrays( LLRender::TRIANGLES, 0, vertCnt );
|