mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Delay texcoord correction until multiplying by hdratio
This commit is contained in:
parent
2f5280c8ac
commit
65ad89ae3a
|
@ -1379,6 +1379,11 @@ void GraphicsDrawer::drawTexturedRect(const TexturedRectParams & _params)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
texST[t].s0 *= cache.current[t]->hdRatioS;
|
||||||
|
texST[t].t0 *= cache.current[t]->hdRatioT;
|
||||||
|
texST[t].s1 *= cache.current[t]->hdRatioS;
|
||||||
|
texST[t].t1 *= cache.current[t]->hdRatioT;
|
||||||
|
|
||||||
if (gDP.otherMode.textureFilter != G_TF_POINT && gDP.otherMode.cycleType != G_CYC_COPY) {
|
if (gDP.otherMode.textureFilter != G_TF_POINT && gDP.otherMode.cycleType != G_CYC_COPY) {
|
||||||
texST[t].s0 -= 0.5f;
|
texST[t].s0 -= 0.5f;
|
||||||
texST[t].t0 -= 0.5f;
|
texST[t].t0 -= 0.5f;
|
||||||
|
@ -1386,12 +1391,6 @@ void GraphicsDrawer::drawTexturedRect(const TexturedRectParams & _params)
|
||||||
texST[t].t1 -= 0.5f;
|
texST[t].t1 -= 0.5f;
|
||||||
}
|
}
|
||||||
|
|
||||||
texST[t].s0 *= cache.current[t]->hdRatioS;
|
|
||||||
texST[t].t0 *= cache.current[t]->hdRatioT;
|
|
||||||
texST[t].s1 *= cache.current[t]->hdRatioS;
|
|
||||||
texST[t].t1 *= cache.current[t]->hdRatioT;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user