mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-03 09:35:24 +02:00
Merge pull request #2626 from Parlane/fix_aniso_2
Fix aniso filtering on d3d to not set aniso filter when using 1x
This commit is contained in:
commit
3f780c2628
1 file changed
+1
-1
@@ -257,7 +257,7 @@ ID3D11SamplerState* StateCache::Get(SamplerState state)
|
||||
|
||||
unsigned int mip = d3dMipFilters[state.min_filter & 3];
|
||||
|
||||
if (state.max_anisotropy)
|
||||
if (state.max_anisotropy > 1)
|
||||
{
|
||||
sampdc.Filter = D3D11_FILTER_ANISOTROPIC;
|
||||
sampdc.MaxAnisotropy = (u32)state.max_anisotropy;
|
||||
|
||||
Reference in new issue
Block a user