mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
add display res matching
This commit is contained in:
parent
6c6d16e978
commit
6994ff3ab7
@ -148,9 +148,9 @@ static void gfx_ctx_uwp_get_video_size(void *data,
|
|||||||
win32_check_window(NULL, &quit, &resize, width, height);
|
win32_check_window(NULL, &quit, &resize, width, height);
|
||||||
if (is_running_on_xbox())
|
if (is_running_on_xbox())
|
||||||
{
|
{
|
||||||
//we can set it to 1920x1080 as xbox uwp windowsize is guaranteed to be 1920x1080 and currently there is now way to set angle to use a variable resolution swapchain so regardless of the size the window is always 1080p
|
//match the output res to the display res
|
||||||
width = 1920;
|
width = uwp_get_width();
|
||||||
height = 1080;
|
height = uwp_get_height();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user