From 85468a5526db7c99b3a331417456055e38ebc4e9 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 9 Aug 2021 03:23:28 +0100 Subject: [PATCH] [d3d9] Add extra brackets to fetch4 filter check --- 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 3e1d54e7b..e2e2365d6 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -3678,7 +3678,7 @@ namespace dxvk { } } - if (unlikely(Type == D3DSAMP_MAGFILTER && m_fetch4Enabled & (1u << StateSampler))) { + if (unlikely(Type == D3DSAMP_MAGFILTER && (m_fetch4Enabled & (1u << StateSampler)))) { if (Value == D3DTEXF_POINT) m_fetch4 |= 1u << StateSampler; else