D3D: Don't set mip filter to aniso, only min/mag. (trying to get rid of errors, looking at the debug d3d runtime log)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4149 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-09-01 20:56:19 +00:00
parent 08296f8d07
commit 96c2247fbe
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ static const D3DTEXTUREFILTERTYPE d3dMipFilters[4] =
{
D3DTEXF_NONE,
D3DTEXF_POINT,
D3DTEXF_ANISOTROPIC,
D3DTEXF_LINEAR,
D3DTEXF_LINEAR, //reserved
};
@ -310,8 +310,8 @@ void SetSamplerState(const BPCmd &bp)
if (g_Config.bForceMaxAniso)
{
mag = D3DTEXF_ANISOTROPIC;
mip = D3DTEXF_ANISOTROPIC;
min = D3DTEXF_ANISOTROPIC;
mip = D3DTEXF_LINEAR;
}
dev->SetSamplerState(stage, D3DSAMP_MINFILTER, min);
dev->SetSamplerState(stage, D3DSAMP_MAGFILTER, mag);