mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed an error with the last commit.
This commit is contained in:
parent
c1044c0b3c
commit
3caba10582
|
@ -296,7 +296,6 @@ void ComponentList::render(const glm::mat4& parentTrans)
|
|||
|
||||
// Clip everything to be inside our bounds.
|
||||
glm::vec3 dim {mSize.x, mSize.y - roundErrorComp, 0.0f};
|
||||
glm::vec3 dim {mSize.x, mSize.y, 0.0f};
|
||||
dim.x = (trans[0].x * dim.x + trans[3].x) - trans[3].x;
|
||||
dim.y = (trans[1].y * dim.y + trans[3].y) - trans[3].y;
|
||||
|
||||
|
|
Loading…
Reference in a new issue