Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod wh…
…ere necessary."

This reverts commit 6c8a22d.
  • Loading branch information
neobrain committed Feb 7, 2013
1 parent ed0abc9 commit 95d08db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
Expand Up @@ -1336,7 +1336,7 @@ void Renderer::SetSamplerState(int stage, int texindex)

float lodbias = (s32)tm0.lod_bias / 32.0f;
D3D::SetSamplerState(stage, D3DSAMP_MIPMAPLODBIAS, *(DWORD*)&lodbias);
D3D::SetSamplerState(stage, D3DSAMP_MAXMIPLEVEL, tm1.max_lod >> 4);
D3D::SetSamplerState(stage, D3DSAMP_MAXMIPLEVEL, tm1.min_lod >> 4);
}

void Renderer::SetInterlacingMode()
Expand Down

0 comments on commit 95d08db

Please sign in to comment.