mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
47b3b57bee
commit
b2254a7937
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue