diff options
Diffstat (limited to 'linden/indra/newview/llsurface.cpp')
-rw-r--r-- | linden/indra/newview/llsurface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/llsurface.cpp b/linden/indra/newview/llsurface.cpp index caaba05..578b565 100644 --- a/linden/indra/newview/llsurface.cpp +++ b/linden/indra/newview/llsurface.cpp | |||
@@ -275,6 +275,7 @@ void LLSurface::createWaterTexture() | |||
275 | *(default_texture + (i*sTextureSize/2 + j)*4 + 3) = MAX_WATER_COLOR.mV[3]; | 275 | *(default_texture + (i*sTextureSize/2 + j)*4 + 3) = MAX_WATER_COLOR.mV[3]; |
276 | } | 276 | } |
277 | } | 277 | } |
278 | |||
278 | mWaterTexturep = new LLViewerImage(raw, FALSE); | 279 | mWaterTexturep = new LLViewerImage(raw, FALSE); |
279 | mWaterTexturep->dontDiscard(); | 280 | mWaterTexturep->dontDiscard(); |
280 | gGL.getTexUnit(0)->bind(mWaterTexturep.get()); | 281 | gGL.getTexUnit(0)->bind(mWaterTexturep.get()); |