summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-07-30 01:24:57 +1000
committerGitHub <noreply@github.com>2019-07-30 01:24:57 +1000
commitdea2b9c509b96cb58182b883c1df9f9f7f9234bf (patch)
tree040c38404307c5e2a0bc7986225ed49b4b3aabb7 /Source/Core/VideoBackends/Software/SWmain.cpp
parentb0113b6c64a7807e35cfd9dd597d3c5e77b4ceda (diff)
parentbaa9636d48008af602e15c76a3647317ff4d0aa4 (diff)
Merge pull request #8258 from CookiePLMonster/dx11.1-detection-fixes
D3D11 resources refactor and DX11.1 feature detection fixes
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 1d02660cf7..4309e39021 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -53,6 +53,13 @@ std::string VideoSoftware::GetDisplayName() const
return _trans("Software Renderer");
}
+std::optional<std::string> VideoSoftware::GetWarningMessage() const
+{
+ return _trans("The software renderer is significantly slower than other "
+ "backends and is only recommended for debugging purposes.\n\nDo you "
+ "really want to enable software rendering? If unsure, select 'No'.");
+}
+
void VideoSoftware::InitBackendInfo()
{
g_Config.backend_info.api_type = APIType::Nothing;