Update gl2.c

This commit is contained in:
tunip3 2022-05-23 22:54:29 +01:00 committed by GitHub
parent 49370f1f26
commit 6c6d16e978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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)