1
0
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:
Joshua Ashton 2021-08-09 03:23:28 +01:00 committed by Joshie
parent 674f008e23
commit 85468a5526

View File

@ -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