From 2d882e527fa3b2b7f916504de721d2331a806aec Mon Sep 17 00:00:00 2001 From: Shyotl Date: Sat, 23 Apr 2011 21:09:33 -0500 Subject: [PATCH] Updating commit from v2renderer to work with new llviewertexture. --- indra/newview/lldrawpoolwater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/lldrawpoolwater.cpp b/indra/newview/lldrawpoolwater.cpp index 1d5ec98d0..3e260f8b1 100644 --- a/indra/newview/lldrawpoolwater.cpp +++ b/indra/newview/lldrawpoolwater.cpp @@ -554,7 +554,7 @@ void LLDrawPoolWater::shade() } LLVOWater* water = (LLVOWater*) face->getViewerObject(); - if(diffTex > -1 && face->getTexture()->getHasGLTexture()) + if(diffTex > -1 && face->getTexture()->hasGLTexture()) gGL.getTexUnit(diffTex)->bind(face->getTexture()); sNeedsReflectionUpdate = TRUE; @@ -573,7 +573,7 @@ void LLDrawPoolWater::shade() LLGLSquashToFarClip far_clip(glh_get_current_projection()); face->renderIndexed(); } - if(diffTex > -1 && face->getTexture()->getHasGLTexture()) + if(diffTex > -1 && face->getTexture()->hasGLTexture()) gGL.getTexUnit(diffTex)->unbind(LLTexUnit::TT_TEXTURE); } }