From ba75cabdda875f44720c6d80f2d392dceedbb459 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Thu, 11 Mar 2021 18:02:55 +0100 Subject: [PATCH] Enable ALT+ENTER DX12. --- Source/Engine/GraphicsDevice/DirectX/DX12/GPUSwapChainDX12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/GraphicsDevice/DirectX/DX12/GPUSwapChainDX12.cpp b/Source/Engine/GraphicsDevice/DirectX/DX12/GPUSwapChainDX12.cpp index 01ffa09bc..b8ac22bba 100644 --- a/Source/Engine/GraphicsDevice/DirectX/DX12/GPUSwapChainDX12.cpp +++ b/Source/Engine/GraphicsDevice/DirectX/DX12/GPUSwapChainDX12.cpp @@ -217,7 +217,7 @@ bool GPUSwapChainDX12::Resize(int32 width, int32 height) _backBuffers.Resize(swapChainDesc.BufferCount); // Disable DXGI changes to the window - dxgiFactory->MakeWindowAssociation(_windowHandle, DXGI_MWA_NO_WINDOW_CHANGES | DXGI_MWA_NO_ALT_ENTER); + dxgiFactory->MakeWindowAssociation(_windowHandle, 0); } else {