Closed softworkz closed 6 months ago
Looks good. I added a PlatformInfo class, to prevent unneccessary API calls on PC platform.
I don't think there's any penalty involved in calling the non-applicable APIs. I'm extensively using them in the app code for automatic refresh rate and HDR mode switching. Anyway, the platform check will surely be useful for other xbox-specific tweaks where the situation is different.
Thanks.
Meged. Thank you @softworkz
The HDR check was non-functional on Xbox, which caused crashes when playing HDR videos without HDR being enabled on the xbox.