diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 558187fb5..46a4576c2 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -4929,7 +4929,7 @@ namespace dxvk { auto texInfo = GetCommonTexture(m_state.textures[i]); if (texInfo == pResource) - m_activeTexturesToGen &= 1 << i; + m_activeTexturesToGen &= ~(1 << i); } }