From 597d7fe4a5c66e23cd18619cf3e43e8eff15bb7b Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 22 Sep 2020 17:26:51 -0400
Subject: [PATCH] Small cleanup

---
 indra/newview/llface.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 8e0445c462b..e91da392de8 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -2576,7 +2576,7 @@ void LLFace::setDefaultTexture(U32 nChannel, bool fShowDefault) const
 		if ((fUpdated) && (mDrawablep))
 		{
 			gPipeline.markTextured(mDrawablep);
-			const_cast<LLDrawable*>(mDrawablep)->updateTexture();
+			mDrawablep->updateTexture();
 		}
 	}
 
-- 
GitLab