From 2e63340ddd69bfd41930e52dcb97912f282c8a32 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Fri, 10 Sep 2010 21:01:31 +0200 Subject: fix minimap surface not rendered --- linden/indra/newview/llsurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden') 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() } } - mWaterTexturep = new LLViewerImage(sTextureSize/2, sTextureSize/2, 4, FALSE); + mWaterTexturep = new LLViewerImage(raw, FALSE); mWaterTexturep->dontDiscard(); gGL.getTexUnit(0)->bind(mWaterTexturep); mWaterTexturep->setAddressMode(LLTexUnit::TAM_CLAMP); -- cgit v1.1