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); } }