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;