summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/D3DBase.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-07-16 22:13:13 +0200
committerJules Blok <jules.blok@gmail.com>2014-07-19 21:14:47 +0200
commitd00e76b3efc83b4e55f5eb35910d82d4cdec824b (patch)
tree29811e6250ce38ff5696c6a8924f7e0dc37908ce /Source/Core/VideoBackends/D3D/D3DBase.cpp
parent5837b35add2f9a480d7297b5a6674388625bce20 (diff)
Cosmetic changes based on feedback on PR #506.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/D3DBase.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/D3DBase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/D3D/D3DBase.cpp b/Source/Core/VideoBackends/D3D/D3DBase.cpp
index 945ba19359..718ed9eec8 100644
--- a/Source/Core/VideoBackends/D3D/D3DBase.cpp
+++ b/Source/Core/VideoBackends/D3D/D3DBase.cpp
@@ -314,6 +314,9 @@ HRESULT Create(HWND wnd)
return E_FAIL;
}
+ // prevent DXGI from responding to Alt+Enter, unfortunately DXGI_MWA_NO_ALT_ENTER
+ // does not work so we disable all monitoring of window messages. However this
+ // may make it more difficult for DXGI to handle display mode changes.
hr = factory->MakeWindowAssociation(wnd, DXGI_MWA_NO_WINDOW_CHANGES);
if (FAILED(hr)) MessageBox(wnd, _T("Failed to associate the window"), _T("Dolphin Direct3D 11 backend"), MB_OK | MB_ICONERROR);