mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +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->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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user