mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Cleanup
This commit is contained in:
parent
108643473d
commit
bf35c1faf5
@ -21648,12 +21648,10 @@ void video_viewport_get_scaled_integer(struct video_viewport *vp,
|
||||
unsigned base_width;
|
||||
/* Use system reported sizes as these define the
|
||||
* geometry for the "normal" case. */
|
||||
unsigned base_height;
|
||||
unsigned base_height = video_driver_av_info.geometry.base_height;
|
||||
|
||||
if (retroarch_get_rotation() % 2)
|
||||
base_height = video_driver_av_info.geometry.base_width;
|
||||
else
|
||||
base_height = video_driver_av_info.geometry.base_height;
|
||||
|
||||
if (base_height == 0)
|
||||
base_height = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user