From 3caba1058295e72f8dfa0a0c75df6bee63949900 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 10 Feb 2023 00:51:03 +0100 Subject: [PATCH] Fixed an error with the last commit. --- es-core/src/components/ComponentList.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/es-core/src/components/ComponentList.cpp b/es-core/src/components/ComponentList.cpp index 91b657476..96e1b6f87 100644 --- a/es-core/src/components/ComponentList.cpp +++ b/es-core/src/components/ComponentList.cpp @@ -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;