mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[d3d9] Add extra brackets to fetch4 filter check
This commit is contained in:
parent
674f008e23
commit
85468a5526
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user