diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-10-18 12:04:09 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-10-18 12:04:09 -0400 |
| commit | 4ddd54847cabb8da22657da5c9f56c4c964cf29b (patch) | |
| tree | 56e498ed808d6f4b992a66baa73fbbbb17e0b36c /Source/Core | |
| parent | 742f9c6b14348b7279cb6b666a342fb2fcf4792c (diff) | |
| parent | 97423d5ed872ec49b1f07d0fede61617ce16a552 (diff) | |
Merge pull request #1327 from kayru/d3d_aniso_fix
D3D: Fixed anisotropic filtering
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/Render.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp index dd4e5e62c5..e8464d6816 100644 --- a/Source/Core/VideoBackends/D3D/Render.cpp +++ b/Source/Core/VideoBackends/D3D/Render.cpp @@ -1003,8 +1003,7 @@ void Renderer::ApplyState(bool bUseDstAlpha) ID3D11SamplerState* samplerstate[8]; for (unsigned int stage = 0; stage < 8; stage++) { - SamplerState state = gx_state.sampler[stage]; - state.max_anisotropy = g_ActiveConfig.iMaxAnisotropy; + gx_state.sampler[stage].max_anisotropy = g_ActiveConfig.iMaxAnisotropy; samplerstate[stage] = gx_state_cache.Get(gx_state.sampler[stage]); } D3D::context->PSSetSamplers(0, 8, samplerstate); |
