mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Merge pull request #13964 from 5th-fork/master
[UWP] add support for 4k to angle on xbox
This commit is contained in:
commit
16c0f5e223
@ -4014,9 +4014,9 @@ static bool gl2_alive(void *data)
|
|||||||
#ifdef __WINRT__
|
#ifdef __WINRT__
|
||||||
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
|
||||||
temp_width = 1920;
|
temp_width = uwp_get_width();
|
||||||
temp_height = 1080;
|
temp_height = uwp_get_height();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (quit)
|
if (quit)
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# ANGLE prebuilt libraries
|
# ANGLE prebuilt libraries
|
||||||
The binaries in this folder is compiled from [ANGLE](https://github.com/google/angle) commit 1fdf6ca5141d8e349e875eab6e51d93d929a7f0e.
|
The binaries in this folder is compiled from a patched version of [ANGLE](https://github.com/xbox-homebrew/angle) with display res matching for xbox commit {239b5a4dff4338c3ae39dbd5399477f65a16ad87}.
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user