Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WinRT: workaround for a possible bug in the Win10 Store's Certificati…
…on Kit DXGI fails to report any displays in at least one of the "Windows App Certification Kit 10.0"'s tests for Store Apps. This was causing SDL's video initialization code to fail, when the suspect test ("Direct3D Feature Test") was run, as DXGI was unable to report a display-output at adapter-index 0, output-index 0. The workaround that is applied here attempts to detect this case, then use a hopefully-reasonable alternative means to calculate at least one display output.
- Loading branch information