mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +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)
|
if (result != S_OK)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
result = dxgiFactory->MakeWindowAssociation(hWnd, DXGI_MWA_NO_ALT_ENTER);
|
||||||
|
if (result != S_OK)
|
||||||
|
return false;
|
||||||
|
|
||||||
outSwapChain = swapChain;
|
outSwapChain = swapChain;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user