Fixed UI Image
This commit is contained in:
@ -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
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user