Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2021-08-09 05:23:28 +0300
committerJoshua Ashton <joshua@froggi.es>2021-08-09 05:23:28 +0300
commit8f3a3baeaf044833528c179d8dc15f8c30a5c671 (patch)
tree138ea4fde3f60af3f132f037f18074bff25685ec
parentd29e1a4a7a35149ed3fccfcefa13a012e205bef1 (diff)
[d3d9] Add extra brackets to fetch4 filter checkoptimize-sampler-state
-rw-r--r--src/d3d9/d3d9_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp
index 2a0a078f..687fc2b1 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