mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Disable Alt-Enter
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user