From d8381dab8df63a7470299bc7f31c1e48c31936ac Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Tue, 26 May 2020 18:57:28 +0100 Subject: [PATCH] [d3d9] Fix a typo when unmarking autogen mips --- src/d3d9/d3d9_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 558187fb..46a4576c 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); } }