mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 22:34:54 +00:00
Fix aniso filtering on d3d to not set aniso filter when using 1x
This commit is contained in:
parent
d914c11ee5
commit
45aeeee699
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ ID3D11SamplerState* StateCache::Get(SamplerState state)
|
||||||
|
|
||||||
unsigned int mip = d3dMipFilters[state.min_filter & 3];
|
unsigned int mip = d3dMipFilters[state.min_filter & 3];
|
||||||
|
|
||||||
if (state.max_anisotropy)
|
if (state.max_anisotropy > 1)
|
||||||
{
|
{
|
||||||
sampdc.Filter = D3D11_FILTER_ANISOTROPIC;
|
sampdc.Filter = D3D11_FILTER_ANISOTROPIC;
|
||||||
sampdc.MaxAnisotropy = (u32)state.max_anisotropy;
|
sampdc.MaxAnisotropy = (u32)state.max_anisotropy;
|
||||||
|
|
Loading…
Add table
Reference in a new issue