diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llworld.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llworld.cpp b/linden/indra/newview/llworld.cpp index 66c4068..28df561 100644 --- a/linden/indra/newview/llworld.cpp +++ b/linden/indra/newview/llworld.cpp | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "llviewerprecompiledheaders.h" | 32 | #include "llviewerprecompiledheaders.h" |
33 | 33 | ||
34 | #include "llworld.h" | 34 | #include "llworld.h" |
35 | #include "llrender.h" | ||
35 | 36 | ||
36 | #include "indra_constants.h" | 37 | #include "indra_constants.h" |
37 | #include "llstl.h" | 38 | #include "llstl.h" |
@@ -108,7 +109,7 @@ LLWorld::LLWorld() : | |||
108 | *(default_texture++) = MAX_WATER_COLOR.mV[3]; | 109 | *(default_texture++) = MAX_WATER_COLOR.mV[3]; |
109 | 110 | ||
110 | mDefaultWaterTexturep = new LLViewerImage(raw, FALSE); | 111 | mDefaultWaterTexturep = new LLViewerImage(raw, FALSE); |
111 | mDefaultWaterTexturep->bind(); | 112 | gGL.getTexUnit(0)->bind(mDefaultWaterTexturep.get()); |
112 | mDefaultWaterTexturep->setClamp(TRUE, TRUE); | 113 | mDefaultWaterTexturep->setClamp(TRUE, TRUE); |
113 | 114 | ||
114 | } | 115 | } |