GSdx: just a typo again

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4421 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2011-03-12 22:23:56 +00:00
parent 47b3b57bee
commit b2254a7937
2 changed files with 1 additions and 3 deletions

View File

@ -377,8 +377,6 @@ void GSRendererSW::GetScanlineGlobalData(GSScanlineGlobalData& gd)
{ {
int level = (int)(m_vt.m_lod.x + 0.5f); int level = (int)(m_vt.m_lod.x + 0.5f);
// FIXME: onimusa 3
level = std::min<int>(level, context->TEX1.MXL); level = std::min<int>(level, context->TEX1.MXL);
level = std::min<int>(level, 6); level = std::min<int>(level, 6);

View File

@ -72,7 +72,7 @@ void GSVertexTrace::UpdateLOD()
GSVector4::storel(&m_lod, m_max.t.uph(m_min.t).log2(2).neg() * (float)(1 << TEX1.L) + K); GSVector4::storel(&m_lod, m_max.t.uph(m_min.t).log2(2).neg() * (float)(1 << TEX1.L) + K);
if(m_lod.x > m_lod.y) {float tmp = m_lod.x; m_lod.x = m_lod.x; m_lod.y = tmp;} if(m_lod.x > m_lod.y) {float tmp = m_lod.x; m_lod.x = m_lod.y; m_lod.y = tmp;}
} }
else else
{ {