summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/D3DState.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2015-06-19 20:55:32 +1200
committerMatthew Parlane <parlane@gmail.com>2015-06-19 20:55:32 +1200
commit45aeeee6991923867a5cc9d330dc097f4e586384 (patch)
tree7fd65e89ea7f61756cc0719ca6656084091c7b4d /Source/Core/VideoBackends/D3D/D3DState.cpp
parentd914c11ee5903d6bf69c42ea32d884f9b1b59096 (diff)
Fix aniso filtering on d3d to not set aniso filter when using 1x
Diffstat (limited to 'Source/Core/VideoBackends/D3D/D3DState.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/D3DState.cpp2
1 files changed, 1 insertions, 1 deletions
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;