From 45aeeee6991923867a5cc9d330dc097f4e586384 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Fri, 19 Jun 2015 20:55:32 +1200 Subject: [PATCH] Fix aniso filtering on d3d to not set aniso filter when using 1x --- Source/Core/VideoBackends/D3D/D3DState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/D3D/D3DState.cpp b/Source/Core/VideoBackends/D3D/D3DState.cpp index bd0a80b355..5bd95bc8f3 100644 --- a/Source/Core/VideoBackends/D3D/D3DState.cpp +++ b/Source/Core/VideoBackends/D3D/D3DState.cpp @@ -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;