diff options
| author | Markus Wick <markus@selfnet.de> | 2015-06-22 13:50:54 +0200 |
|---|---|---|
| committer | Markus Wick <markus@selfnet.de> | 2015-06-22 13:50:54 +0200 |
| commit | 3f780c2628e2733f0e419b9ecfe7fba87f47bc4b (patch) | |
| tree | 7fd65e89ea7f61756cc0719ca6656084091c7b4d /Source/Core | |
| parent | d914c11ee5903d6bf69c42ea32d884f9b1b59096 (diff) | |
| parent | 45aeeee6991923867a5cc9d330dc097f4e586384 (diff) | |
Merge pull request #2626 from Parlane/fix_aniso_2
Fix aniso filtering on d3d to not set aniso filter when using 1x
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/D3DState.cpp | 2 |
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; |
