1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-01 07:54:27 +00:00

Flip default y positive direction for viewport calc

This should fix metal and maybe some directx resizes
This commit is contained in:
Joe Osborn 2024-06-25 13:48:18 -07:00 committed by LibretroAdmin
parent 9e171cb665
commit f1b9df4faf

View File

@ -2128,11 +2128,9 @@ void video_driver_update_viewport(
vp,
vp->full_width,
vp->full_height,
video_driver_aspect_ratio, keep_aspect, false);
video_driver_aspect_ratio, keep_aspect, true);
else if (keep_aspect && !force_full)
{
video_viewport_get_scaled_aspect(vp, vp->full_width, vp->full_height, false);
}
video_viewport_get_scaled_aspect(vp, vp->full_width, vp->full_height, true);
}
void video_driver_restore_cached(void *settings_data)