From 6c6d16e978cfe8394adb2171185284795b81a2ba Mon Sep 17 00:00:00 2001 From: tunip3 <26260613+tunip3@users.noreply.github.com> Date: Mon, 23 May 2022 22:54:29 +0100 Subject: [PATCH] Update gl2.c --- gfx/drivers/gl2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/drivers/gl2.c b/gfx/drivers/gl2.c index 361ff1b4f5..571ee0ec75 100644 --- a/gfx/drivers/gl2.c +++ b/gfx/drivers/gl2.c @@ -4014,9 +4014,9 @@ static bool gl2_alive(void *data) #ifdef __WINRT__ 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 - temp_width = 1920; - temp_height = 1080; + //match the output res to the display res + temp_width = uwp_get_width(); + temp_height = uwp_get_height(); } #endif if (quit)