From 0035c126b5b4be0c9655378fb1a9a08789ad01fd Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 7 Feb 2023 02:43:13 -0500
Subject: [PATCH] Remove pointless call to alloc physics buffer

---
 indra/newview/lldynamictexture.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/indra/newview/lldynamictexture.cpp b/indra/newview/lldynamictexture.cpp
index 05b60718b6f..185bff7dd35 100644
--- a/indra/newview/lldynamictexture.cpp
+++ b/indra/newview/lldynamictexture.cpp
@@ -118,7 +118,6 @@ BOOL LLViewerDynamicTexture::render()
 //-----------------------------------------------------------------------------
 void LLViewerDynamicTexture::preRender(BOOL clear_depth)
 {
-	gPipeline.allocatePhysicsBuffer();
 	if (!gNonInteractive)
 	{
 		llassert(mFullWidth <= static_cast<S32>(gPipeline.mBake.getWidth()));
-- 
GitLab