Disable Alt-Enter

This commit is contained in:
elasota
2020-04-05 00:31:55 -04:00
parent 805638f2c9
commit 7404c60a96

View File

@@ -102,6 +102,10 @@ bool InitSwapChainForWindow(HWND hWnd, ID3D11Device *device, GpComPtr<IDXGISwapC
if (result != S_OK)
return false;
result = dxgiFactory->MakeWindowAssociation(hWnd, DXGI_MWA_NO_ALT_ENTER);
if (result != S_OK)
return false;
outSwapChain = swapChain;
return true;