Fixed UI Image

This commit is contained in:
2023-05-10 23:35:10 -07:00
parent cdf9b0a35d
commit 642f1408ff
2 changed files with 6 additions and 5 deletions

View File

@ -59,8 +59,8 @@ void UIImage::onStart() {
}, this->eventAlignmentUpdated);
QuadMesh::initQuadMesh(&mesh,
glm::vec2(0, 0), glm::vec2(0, 0),
glm::vec2(width, height), glm::vec2(1, 1),
glm::vec2(0, 0), glm::vec2(0, 1),
glm::vec2(width, height), glm::vec2(1, 0),
0.0f
);
}