diff --git a/source/Graphics/BatchRenderer2D.cpp b/source/Graphics/BatchRenderer2D.cpp index f4a9106..73b5f23 100644 --- a/source/Graphics/BatchRenderer2D.cpp +++ b/source/Graphics/BatchRenderer2D.cpp @@ -119,7 +119,6 @@ void BatchRenderer2D::render() { Matrix4f viewMatrix = m_camera ? m_camera->getViewMatrix() : Matrix4f::Identity; Matrix4f projMatrix = m_camera ? m_camera->getProjectionMatrix() : Matrix4f::Identity; - Matrix4f guiMatrix = math::orthoProjection(0.0f, 800.0f, 600.0f, 0.0f); Matrix4f MVP = projMatrix * viewMatrix; // Nothing to render.