From a158216858fa4f311e7a9618612849ce093a4e67 Mon Sep 17 00:00:00 2001 From: mobserveur Date: Tue, 8 Apr 2025 16:18:14 +0200 Subject: Suppression of a redondant call in LLDrawPoolWaterExclusion The second call to pwaterpool->pushWaterPlanes(1) is a reminicence of an older method where it was using 2 passes. --- indra/newview/lldrawpoolwaterexclusion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/lldrawpoolwaterexclusion.cpp b/indra/newview/lldrawpoolwaterexclusion.cpp index d796bf39bf..5d8fa9b7a1 100644 --- a/indra/newview/lldrawpoolwaterexclusion.cpp +++ b/indra/newview/lldrawpoolwaterexclusion.cpp @@ -61,7 +61,7 @@ void LLDrawPoolWaterExclusion::render(S32 pass) pwaterpool->pushWaterPlanes(0); // Take care of the edge water tiles. - pwaterpool->pushWaterPlanes(1); + //pwaterpool->pushWaterPlanes(1); } gDrawColorProgram.uniform4f(LLShaderMgr::DIFFUSE_COLOR, 0, 0, 0, 1); -- cgit v1.2.3