diff options
Diffstat (limited to 'linden/indra/newview/llviewerjoint.cpp')
-rw-r--r-- | linden/indra/newview/llviewerjoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewerjoint.cpp b/linden/indra/newview/llviewerjoint.cpp index 71f9211..1be6e66 100644 --- a/linden/indra/newview/llviewerjoint.cpp +++ b/linden/indra/newview/llviewerjoint.cpp | |||
@@ -37,7 +37,7 @@ | |||
37 | #include "llviewerjoint.h" | 37 | #include "llviewerjoint.h" |
38 | 38 | ||
39 | #include "llgl.h" | 39 | #include "llgl.h" |
40 | #include "llglimmediate.h" | 40 | #include "llrender.h" |
41 | #include "llmath.h" | 41 | #include "llmath.h" |
42 | #include "llglheaders.h" | 42 | #include "llglheaders.h" |
43 | #include "llrendersphere.h" | 43 | #include "llrendersphere.h" |
@@ -272,12 +272,12 @@ U32 LLViewerJoint::render( F32 pixelArea, BOOL first_pass ) | |||
272 | triangle_count += drawShape( pixelArea, first_pass); | 272 | triangle_count += drawShape( pixelArea, first_pass); |
273 | } | 273 | } |
274 | // second pass writes to z buffer only | 274 | // second pass writes to z buffer only |
275 | glColorMask(FALSE, FALSE, FALSE, FALSE); | 275 | gGL.setColorMask(false, false); |
276 | { | 276 | { |
277 | triangle_count += drawShape( pixelArea, FALSE ); | 277 | triangle_count += drawShape( pixelArea, FALSE ); |
278 | } | 278 | } |
279 | // third past respects z buffer and writes color | 279 | // third past respects z buffer and writes color |
280 | glColorMask(TRUE, TRUE, TRUE, FALSE); | 280 | gGL.setColorMask(true, false); |
281 | { | 281 | { |
282 | LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); | 282 | LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); |
283 | triangle_count += drawShape( pixelArea, FALSE ); | 283 | triangle_count += drawShape( pixelArea, FALSE ); |