diff options
author | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
commit | 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch) | |
tree | 95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llviewerjoint.cpp | |
parent | Second Life viewer sources 1.20.6 (diff) | |
download | meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2 meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz |
Second Life viewer sources 1.20.7
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 ); |