From 42b879e6b8c80564747a515d787e4155ece33e7e Mon Sep 17 00:00:00 2001 From: "Asmodean.pcsx2" Date: Mon, 3 Feb 2014 20:06:00 +0000 Subject: [PATCH] GSdx: Anisotropic Filtering. Fixes a small oversight on my part. Which was setting the maximum anisotropy to (0,1,2,3,4) respectively, instead of (1,2,4,8,16). So when you selected x16 for example, you were actually only getting x4 >.> Corrected now, and you will be getting the full x16 when selected :) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5879 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSDevice11.cpp | 2 +- plugins/GSdx/GSdx.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/GSdx/GSDevice11.cpp b/plugins/GSdx/GSDevice11.cpp index 5dbb2ac565..e55dbdad00 100644 --- a/plugins/GSdx/GSDevice11.cpp +++ b/plugins/GSdx/GSDevice11.cpp @@ -309,7 +309,7 @@ bool GSDevice11::Create(GSWnd* wnd) memset(&sd, 0, sizeof(sd)); - sd.Filter = sd.Filter = !!theApp.GetConfig("AnisotropicFiltering", 0) && !theApp.GetConfig("paltex", 0) ? D3D11_FILTER_ANISOTROPIC : D3D11_FILTER_MIN_MAG_MIP_LINEAR;; + sd.Filter = sd.Filter = !!theApp.GetConfig("AnisotropicFiltering", 0) && !theApp.GetConfig("paltex", 0) ? D3D11_FILTER_ANISOTROPIC : D3D11_FILTER_MIN_MAG_MIP_LINEAR; sd.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; sd.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; sd.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; diff --git a/plugins/GSdx/GSdx.cpp b/plugins/GSdx/GSdx.cpp index 997d3d849f..00fb984260 100644 --- a/plugins/GSdx/GSdx.cpp +++ b/plugins/GSdx/GSdx.cpp @@ -143,11 +143,11 @@ GSdxApp::GSdxApp() m_gs_upscale_multiplier.push_back(GSSetting(5, "5x Native", "")); m_gs_upscale_multiplier.push_back(GSSetting(6, "6x Native", "")); - m_gs_max_anisotropy.push_back(GSSetting(0, "1x", "")); - m_gs_max_anisotropy.push_back(GSSetting(1, "2x", "")); - m_gs_max_anisotropy.push_back(GSSetting(2, "4x", "")); - m_gs_max_anisotropy.push_back(GSSetting(3, "8x", "")); - m_gs_max_anisotropy.push_back(GSSetting(4, "16x", "")); + m_gs_max_anisotropy.push_back(GSSetting(1, "1x", "")); + m_gs_max_anisotropy.push_back(GSSetting(2, "2x", "")); + m_gs_max_anisotropy.push_back(GSSetting(4, "4x", "")); + m_gs_max_anisotropy.push_back(GSSetting(8, "8x", "")); + m_gs_max_anisotropy.push_back(GSSetting(16, "16x", "")); m_gpu_renderers.push_back(GSSetting(0, "Direct3D9 (Software)", "")); m_gpu_renderers.push_back(GSSetting(1, "Direct3D11 (Software)", ""));