summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorPaul Olszewski <pauldacheez@gmail.com>2014-06-19 19:37:54 -0500
committerPaul Olszewski <pauldacheez@gmail.com>2014-06-20 15:51:54 -0500
commitc5ef249c4b3c8ae6e2c0301a718e389a0804f536 (patch)
tree5426eb07695667a623e504c5050e5771ada58931 /Source/Core/VideoBackends
parent86cec0a476589f89dfe0e6ed0013f1753f09b024 (diff)
Make the common "Failed to enumerate outputs" message much more useful.
Now it includes its most common cause, a simply-worded solution, and an exclamation point.
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/D3D/D3DBase.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/D3DBase.cpp b/Source/Core/VideoBackends/D3D/D3DBase.cpp
index bb758f5063..5bfdf54389 100644
--- a/Source/Core/VideoBackends/D3D/D3DBase.cpp
+++ b/Source/Core/VideoBackends/D3D/D3DBase.cpp
@@ -243,7 +243,10 @@ HRESULT Create(HWND wnd)
{
// try using the first one
hr = adapter->EnumOutputs(0, &output);
- if (FAILED(hr)) MessageBox(wnd, _T("Failed to enumerate outputs"), _T("Dolphin Direct3D 11 backend"), MB_OK | MB_ICONERROR);
+ if (FAILED(hr)) MessageBox(wnd, _T("Failed to enumerate outputs!\n")
+ _T("This usually happens when you've set your video adapter to the Nvidia GPU in an Optimus-equipped system.\n")
+ _T("Set Dolphin to use the high-performance graphics in Nvidia's drivers instead and leave Dolphin's video adapter set to the Intel GPU."),
+ _T("Dolphin Direct3D 11 backend"), MB_OK | MB_ICONERROR);
}
// get supported AA modes