Update gl2.c
This commit is contained in:
parent
49370f1f26
commit
6c6d16e978
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue