Fixed UI Image

This commit is contained in:
YourWishes committed 2023-05-10 23:35:10 -07:00
1 parent cdf9b0a35d
commit 642f1408ff
2 files changed
+6 -5

No files matched your search

+2 -2
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
);
}