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/llnetmap.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/llnetmap.cpp')
-rw-r--r-- | linden/indra/newview/llnetmap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp index b6e22d8..9629d06 100644 --- a/linden/indra/newview/llnetmap.cpp +++ b/linden/indra/newview/llnetmap.cpp | |||
@@ -38,7 +38,7 @@ | |||
38 | #include "llui.h" | 38 | #include "llui.h" |
39 | #include "llmath.h" // clampf() | 39 | #include "llmath.h" // clampf() |
40 | #include "llfocusmgr.h" | 40 | #include "llfocusmgr.h" |
41 | #include "llglimmediate.h" | 41 | #include "llrender.h" |
42 | 42 | ||
43 | #include "llagent.h" | 43 | #include "llagent.h" |
44 | #include "llcallingcard.h" | 44 | #include "llcallingcard.h" |
@@ -299,7 +299,7 @@ void LLNetMap::draw() | |||
299 | gGL.end(); | 299 | gGL.end(); |
300 | 300 | ||
301 | // Draw water | 301 | // Draw water |
302 | glAlphaFunc(GL_GREATER, ABOVE_WATERLINE_ALPHA / 255.f ); | 302 | gGL.setAlphaRejectSettings(LLRender::CF_GREATER, ABOVE_WATERLINE_ALPHA / 255.f); |
303 | { | 303 | { |
304 | if (regionp->getLand().getWaterTexture()) | 304 | if (regionp->getLand().getWaterTexture()) |
305 | { | 305 | { |
@@ -316,7 +316,7 @@ void LLNetMap::draw() | |||
316 | gGL.end(); | 316 | gGL.end(); |
317 | } | 317 | } |
318 | } | 318 | } |
319 | glAlphaFunc(GL_GREATER,0.01f); | 319 | gGL.setAlphaRejectSettings(LLRender::CF_DEFAULT); |
320 | } | 320 | } |
321 | 321 | ||
322 | 322 | ||