Merge pull request #12042 from JosJuice/logic-op-no-win7

D3D: Remove Windows 7 mention in logic ops warning
This commit is contained in:
OatmealDome 2023-07-11 20:23:16 -04:00 committed by GitHub
commit 423c7c58cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -42,7 +42,7 @@ std::optional<std::string> VideoBackend::GetWarningMessage() const
{
std::optional<std::string> result;
// If user is on Win7, show a warning about partial DX11.1 support
// If relevant, show a warning about partial DX11.1 support
// This is being called BEFORE FillBackendInfo is called for this backend,
// so query for logic op support manually
bool supportsLogicOp = false;
@ -54,10 +54,11 @@ std::optional<std::string> VideoBackend::GetWarningMessage() const
if (!supportsLogicOp)
{
result = _trans("Direct3D 11 renderer requires support for features not supported by your "
"system configuration. This is most likely because you are using Windows 7. "
"You may still use this backend, but you might encounter graphical artifacts."
"\n\nDo you really want to switch to Direct3D 11? If unsure, select 'No'.");
result = _trans("The Direct3D 11 renderer requires support for features not supported by your "
"system configuration. You may still use this backend, but you will encounter "
"graphical artifacts in certain games.\n"
"\n"
"Do you really want to switch to Direct3D 11? If unsure, select 'No'.");
}
return result;