src/render/direct3d11/SDL_render_d3d11.c
changeset 8672 763f551235af
parent 8669 62dfa45e5e08
child 8674 d7d2e69a0b08
     1.1 --- a/src/render/direct3d11/SDL_render_d3d11.c	Sun Mar 23 22:07:01 2014 -0400
     1.2 +++ b/src/render/direct3d11/SDL_render_d3d11.c	Sun Mar 23 22:53:50 2014 -0700
     1.3 @@ -1447,6 +1447,8 @@
     1.4              WIN_SetErrorFromHRESULT(__FUNCTION__ ", IDXGIFactory2::CreateSwapChainForHwnd", result);
     1.5              goto done;
     1.6          }
     1.7 +
     1.8 +        IDXGIFactory_MakeWindowAssociation(data->dxgiFactory, windowinfo.info.win.window, DXGI_MWA_NO_WINDOW_CHANGES);
     1.9  #else
    1.10          SDL_SetError(__FUNCTION__", Unable to find something to attach a swap chain to");
    1.11          goto done;