diff --git a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/README.md b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/README.md index 0231621015..612c56b7a4 100644 --- a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/README.md +++ b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/README.md @@ -1,4 +1,4 @@ # MESA PreBuilt Libraries The Binaries in this folder are compiled from a custom version of [MESA](https://github.com/aerisarn/mesa-uwp). -These are based on this [tag](https://github.com/aerisarn/mesa-uwp/releases/tag/alpha-2-hack). +These are based on this [tag](https://github.com/aerisarn/mesa-uwp/releases/tag/alpha-2-resfix). diff --git a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libEGL.dll b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libEGL.dll index 681756568e..14e0193610 100644 Binary files a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libEGL.dll and b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libEGL.dll differ diff --git a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libGLESv2.dll b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libGLESv2.dll index 08f1cd6270..8b1d082bb9 100644 Binary files a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libGLESv2.dll and b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libGLESv2.dll differ diff --git a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libgallium_wgl.dll b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libgallium_wgl.dll index 3857df0732..997d50c44d 100644 Binary files a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libgallium_wgl.dll and b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libgallium_wgl.dll differ diff --git a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libglapi.dll b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libglapi.dll index 50a3309424..4a03c7ca5b 100644 Binary files a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libglapi.dll and b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/libglapi.dll differ diff --git a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/opengl32.dll b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/opengl32.dll index 4ddcc576be..115453416a 100644 Binary files a/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/opengl32.dll and b/pkg/msvc-uwp/RetroArch-msvcUWP/MESA/x64/opengl32.dll differ diff --git a/uwp/uwp_main.cpp b/uwp/uwp_main.cpp index 53181aee11..92bbfd0acf 100644 --- a/uwp/uwp_main.cpp +++ b/uwp/uwp_main.cpp @@ -953,16 +953,9 @@ extern "C" { { if (is_running_on_xbox()) { -#ifdef HAVE_OPENGL - //For whatever reason, this is not correct when initializing a Mesa GL context. Using the default method instead - Windows::UI::Core::CoreWindow^ coreWindow = Windows::UI::Core::CoreWindow::GetForCurrentThread(); - DisplayInformation^ currentDisplayInformation = DisplayInformation::GetForCurrentView(); - ret = ConvertDipsToPixels(coreWindow->Bounds.Bottom - coreWindow->Bounds.Top, currentDisplayInformation->LogicalDpi); -#else const Windows::Graphics::Display::Core::HdmiDisplayInformation^ hdi = Windows::Graphics::Display::Core::HdmiDisplayInformation::GetForCurrentView(); if (hdi) ret = Windows::Graphics::Display::Core::HdmiDisplayInformation::GetForCurrentView()->GetCurrentDisplayMode()->ResolutionHeightInRawPixels; -#endif } if (ret == -1) @@ -998,16 +991,9 @@ extern "C" { { if (is_running_on_xbox()) { -#ifdef HAVE_OPENGL - //For whatever reason, this is not correct when initializing a Mesa GL context. Using the default method instead - Windows::UI::Core::CoreWindow^ coreWindow = Windows::UI::Core::CoreWindow::GetForCurrentThread(); - DisplayInformation^ currentDisplayInformation = DisplayInformation::GetForCurrentView(); - returnValue = ConvertDipsToPixels(coreWindow->Bounds.Right - coreWindow->Bounds.Left, currentDisplayInformation->LogicalDpi); -#else const Windows::Graphics::Display::Core::HdmiDisplayInformation^ hdi = Windows::Graphics::Display::Core::HdmiDisplayInformation::GetForCurrentView(); if (hdi) returnValue = Windows::Graphics::Display::Core::HdmiDisplayInformation::GetForCurrentView()->GetCurrentDisplayMode()->ResolutionWidthInRawPixels; -#endif } if(returnValue == -1)