remove check for xbox one as it doesn't work on series consoles

This commit is contained in:
tunip3 2021-10-01 17:58:46 +01:00 committed by GitHub
parent 13c5ee8bfb
commit 28ebc46e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 8 deletions

View File

@ -144,8 +144,6 @@ bool UWPHostInterface::CreateDisplay(bool fullscreen)
{
GAMING_DEVICE_MODEL_INFORMATION gdinfo = {};
if (SUCCEEDED(GetGamingDeviceModelInformation(&gdinfo)) && gdinfo.vendorId == GAMING_DEVICE_VENDOR_ID_MICROSOFT)
{
if (gdinfo.deviceId != GAMING_DEVICE_DEVICE_ID_XBOX_ONE)
{
Log_InfoPrintf("Overriding core window size %ux%u with HDMI size %ux%u", wi.surface_width,
wi.surface_height, hdmi_width, hdmi_height);
@ -155,7 +153,6 @@ bool UWPHostInterface::CreateDisplay(bool fullscreen)
}
}
}
}
catch (const winrt::hresult_error&)
{
}