mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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);
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user