mirror of
https://github.com/libretro/RetroArch
synced 2024-07-03 00:38:44 +00:00
Flip default y positive direction for viewport calc
This should fix metal and maybe some directx resizes
This commit is contained in:
parent
9e171cb665
commit
f1b9df4faf
|
@ -2128,11 +2128,9 @@ void video_driver_update_viewport(
|
||||||
vp,
|
vp,
|
||||||
vp->full_width,
|
vp->full_width,
|
||||||
vp->full_height,
|
vp->full_height,
|
||||||
video_driver_aspect_ratio, keep_aspect, false);
|
video_driver_aspect_ratio, keep_aspect, true);
|
||||||
else if (keep_aspect && !force_full)
|
else if (keep_aspect && !force_full)
|
||||||
{
|
video_viewport_get_scaled_aspect(vp, vp->full_width, vp->full_height, true);
|
||||||
video_viewport_get_scaled_aspect(vp, vp->full_width, vp->full_height, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void video_driver_restore_cached(void *settings_data)
|
void video_driver_restore_cached(void *settings_data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user