aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llsurface.cpp b/linden/indra/newview/llsurface.cpp
index 2e20ace..700ff8e 100644
--- a/linden/indra/newview/llsurface.cpp
+++ b/linden/indra/newview/llsurface.cpp
@@ -278,7 +278,7 @@ void LLSurface::createWaterTexture()
278 } 278 }
279 } 279 }
280 280
281 mWaterTexturep = new LLViewerImage(sTextureSize/2, sTextureSize/2, 4, FALSE); 281 mWaterTexturep = new LLViewerImage(raw, FALSE);
282 mWaterTexturep->dontDiscard(); 282 mWaterTexturep->dontDiscard();
283 gGL.getTexUnit(0)->bind(mWaterTexturep); 283 gGL.getTexUnit(0)->bind(mWaterTexturep);
284 mWaterTexturep->setAddressMode(LLTexUnit::TAM_CLAMP); 284 mWaterTexturep->setAddressMode(LLTexUnit::TAM_CLAMP);