From 9a8b9c7413ce9e3915cb09c840e1da5cbce63aa7 Mon Sep 17 00:00:00 2001 From: Conn O'Griofa Date: Sat, 28 Oct 2017 23:19:19 +0000 Subject: [PATCH] Implement missed inhouse vector replacements Needed to fix build on Pi after https://github.com/RetroPie/EmulationStation/pull/263. --- es-core/src/components/VideoPlayerComponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/components/VideoPlayerComponent.cpp b/es-core/src/components/VideoPlayerComponent.cpp index 897b52ab4..ef31f5813 100644 --- a/es-core/src/components/VideoPlayerComponent.cpp +++ b/es-core/src/components/VideoPlayerComponent.cpp @@ -43,7 +43,7 @@ void VideoPlayerComponent::render(const Transform4x4f& parentTrans) void VideoPlayerComponent::setResize(float width, float height) { setSize(width, height); - mTargetSize << width, height; + mTargetSize = Vector2f(width, height); mTargetIsMax = false; mStaticImage.setSize(width, height); onSizeChanged(); @@ -52,7 +52,7 @@ void VideoPlayerComponent::setResize(float width, float height) void VideoPlayerComponent::setMaxSize(float width, float height) { setSize(width, height); - mTargetSize << width, height; + mTargetSize = Vector2f(width, height); mTargetIsMax = true; mStaticImage.setMaxSize(width, height); onSizeChanged();