diff --git a/src/SceneGraph/Camera.cpp b/src/SceneGraph/Camera.cpp index f6896667b..9afcd4a55 100644 --- a/src/SceneGraph/Camera.cpp +++ b/src/SceneGraph/Camera.cpp @@ -49,7 +49,7 @@ template Matrix4 aspectRatioFix(AspectRatioPolicy, const Vector2&, cons template Camera::Camera(ObjectType* parent): ObjectType(parent), _aspectRatioPolicy(AspectRatioPolicy::NotPreserved) {} template void Camera::setViewport(const Math::Vector2& size) { - Framebuffer::setViewport({0, 0}, size); + Framebuffer::setViewport(Math::Vector2{0, 0}, size); _viewport = size; fixAspectRatio();