Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12042 from JosJuice/logic-op-no-win7
D3D: Remove Windows 7 mention in logic ops warning
  • Loading branch information
OatmealDome committed Jul 12, 2023
2 parents 559611d + 5acebc7 commit 423c7c5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Source/Core/VideoBackends/D3D/D3DMain.cpp
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 423c7c5

Please sign in to comment.