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) {