Show the D3D11 choice on Windows Vista+ instead of Windows 8+.

This commit is contained in:
Henrik Rydgard 2017-02-23 09:52:45 +01:00
parent 615c357f1d
commit 85ce4ac219

View File

@ -161,10 +161,8 @@ void GameSettingsScreen::CreateViews() {
renderingBackendChoice->HideChoice(1); // D3D9
renderingBackendChoice->HideChoice(2); // D3D11
#else
if (!DoesVersionMatchWindows(6, 2)) {
// Hide the D3D11 choice if Windows version is older than Windows 8.
// We will later be able to support Windows 7 and Vista (unofficially) as well,
// but we currently depend on a texture format that's only available in Win8+.
if (!DoesVersionMatchWindows(6, 0)) {
// Hide the D3D11 choice if Windows version is older than Windows Vista.
renderingBackendChoice->HideChoice(2); // D3D11
}
#endif