mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
None of the drivers that call video_driver_update_viewport
have either a context driver or have a 'fake' context driver with translate_aspect implemented
This commit is contained in:
parent
035e7641c5
commit
4d17fde5ea
13
retroarch.c
13
retroarch.c
@ -32183,15 +32183,10 @@ void video_driver_update_viewport(
|
||||
unsigned video_aspect_ratio_idx = settings->uints.video_aspect_ratio_idx;
|
||||
float video_driver_aspect_ratio = p_rarch->video_driver_aspect_ratio;
|
||||
|
||||
if ( p_rarch->video_context_data
|
||||
&& p_rarch->current_video_context.translate_aspect)
|
||||
device_aspect = p_rarch->current_video_context.translate_aspect(
|
||||
p_rarch->video_context_data, vp->full_width, vp->full_height);
|
||||
|
||||
vp->x = 0;
|
||||
vp->y = 0;
|
||||
vp->width = vp->full_width;
|
||||
vp->height = vp->full_height;
|
||||
vp->x = 0;
|
||||
vp->y = 0;
|
||||
vp->width = vp->full_width;
|
||||
vp->height = vp->full_height;
|
||||
|
||||
if (video_scale_integer && !force_full)
|
||||
video_viewport_get_scaled_integer(
|
||||
|
Loading…
x
Reference in New Issue
Block a user