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:
parent
08296f8d07
commit
96c2247fbe
|
@ -80,7 +80,7 @@ static const D3DTEXTUREFILTERTYPE d3dMipFilters[4] =
|
||||||
{
|
{
|
||||||
D3DTEXF_NONE,
|
D3DTEXF_NONE,
|
||||||
D3DTEXF_POINT,
|
D3DTEXF_POINT,
|
||||||
D3DTEXF_ANISOTROPIC,
|
D3DTEXF_LINEAR,
|
||||||
D3DTEXF_LINEAR, //reserved
|
D3DTEXF_LINEAR, //reserved
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -310,8 +310,8 @@ void SetSamplerState(const BPCmd &bp)
|
||||||
if (g_Config.bForceMaxAniso)
|
if (g_Config.bForceMaxAniso)
|
||||||
{
|
{
|
||||||
mag = D3DTEXF_ANISOTROPIC;
|
mag = D3DTEXF_ANISOTROPIC;
|
||||||
mip = D3DTEXF_ANISOTROPIC;
|
|
||||||
min = D3DTEXF_ANISOTROPIC;
|
min = D3DTEXF_ANISOTROPIC;
|
||||||
|
mip = D3DTEXF_LINEAR;
|
||||||
}
|
}
|
||||||
dev->SetSamplerState(stage, D3DSAMP_MINFILTER, min);
|
dev->SetSamplerState(stage, D3DSAMP_MINFILTER, min);
|
||||||
dev->SetSamplerState(stage, D3DSAMP_MAGFILTER, mag);
|
dev->SetSamplerState(stage, D3DSAMP_MAGFILTER, mag);
|
||||||
|
|
Loading…
Reference in New Issue