mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary.
This commit is contained in:
parent
0706050b74
commit
6c8a22de24
@ -1336,7 +1336,7 @@ void Renderer::SetSamplerState(int stage, int texindex)
|
||||
|
||||
float lodbias = (tm0.lod_bias / 32.0f);
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user