From 4e47dab0188df1b6f29a1e1e9238ee820f447550 Mon Sep 17 00:00:00 2001 From: o3o <51990072+o-3-o@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:09:42 +0800 Subject: [PATCH] Fix indentation and formatting in main.cpp --- examples/example_sdl3_directx11/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/example_sdl3_directx11/main.cpp b/examples/example_sdl3_directx11/main.cpp index f49968231..cb761a679 100644 --- a/examples/example_sdl3_directx11/main.cpp +++ b/examples/example_sdl3_directx11/main.cpp @@ -256,8 +256,10 @@ bool CreateDeviceD3D(HWND hWnd) // - This must be done for all windows associated to the device. Our DX11 backend does this automatically for secondary viewports that it creates. IDXGIFactory* pSwapChainFactory; if (SUCCEEDED(g_pSwapChain->GetParent(IID_PPV_ARGS(&pSwapChainFactory)))) + { pSwapChainFactory->MakeWindowAssociation(hWnd, DXGI_MWA_NO_ALT_ENTER); - pSwapChainFactory->Release(); + pSwapChainFactory->Release(); + } CreateRenderTarget(); return true;