From 7a22bc81e89b4a820b2979f11563009c7eaf56d5 Mon Sep 17 00:00:00 2001 From: xezon <4720891+xezon@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:54:55 +0200 Subject: [PATCH] Remove redundant nullptr assignment in W3DProjectedShadowManager destructor --- src/platform/w3dengine/client/shadow/w3dprojectedshadow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/w3dengine/client/shadow/w3dprojectedshadow.cpp b/src/platform/w3dengine/client/shadow/w3dprojectedshadow.cpp index d4b04aaf2..d106fc717 100644 --- a/src/platform/w3dengine/client/shadow/w3dprojectedshadow.cpp +++ b/src/platform/w3dengine/client/shadow/w3dprojectedshadow.cpp @@ -440,7 +440,7 @@ W3DProjectedShadowManager::W3DProjectedShadowManager() : W3DProjectedShadowManager::~W3DProjectedShadowManager() { Release_Resources(); - m_dynamicRenderTarget = nullptr; + m_renderTargetHasAlpha = false; if (m_shadowContext) {