diff options
Diffstat (limited to '')
-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 | ||