mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Implement missed inhouse vector replacements
Needed to fix build on Pi after https://github.com/RetroPie/EmulationStation/pull/263.
This commit is contained in:
parent
e5847c5343
commit
9a8b9c7413
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue