CAuiImagePane: Match UV order from retail

This commit is contained in:
Phillip Stephens 2022-03-26 20:51:50 -07:00
parent 75d01f9310
commit 46ef0e1c93
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 2 additions and 2 deletions

View File

@ -65,11 +65,11 @@ void CAuiImagePane::DoDrawImagePane(const zeus::CColor& color, CTexture& tex, in
const float x0 = tmpRecip.x() * static_cast<float>(frame % static_cast<int>(tmp.x()));
const float x1 = x0 + tmpRecip.x();
const float y0 = tmpRecip.y() * static_cast<float>(frame % static_cast<int>(tmp.y()));
const float y1 = y0 + tmpRecip.y();
const float y1 = y0 - tmpRecip.y();
vec.push_back(zeus::CVector2f(x0, y0));
vec.push_back(zeus::CVector2f(x0, y1));
vec.push_back(zeus::CVector2f(x1, y1));
vec.push_back(zeus::CVector2f(x1, y0));
vec.push_back(zeus::CVector2f(x1, y1));
useUVs = &vec;
} else {
useUVs = &x114_uvs;