mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary.
This commit is contained in:
@ -1336,7 +1336,7 @@ void Renderer::SetSamplerState(int stage, int texindex)
|
|||||||
|
|
||||||
float lodbias = (tm0.lod_bias / 32.0f);
|
float lodbias = (tm0.lod_bias / 32.0f);
|
||||||
D3D::SetSamplerState(stage, D3DSAMP_MIPMAPLODBIAS, *(DWORD*)&lodbias);
|
D3D::SetSamplerState(stage, D3DSAMP_MIPMAPLODBIAS, *(DWORD*)&lodbias);
|
||||||
D3D::SetSamplerState(stage, D3DSAMP_MAXMIPLEVEL, tm1.min_lod >> 4);
|
D3D::SetSamplerState(stage, D3DSAMP_MAXMIPLEVEL, tm1.max_lod >> 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Renderer::SetInterlacingMode()
|
void Renderer::SetInterlacingMode()
|
||||||
|
Reference in New Issue
Block a user