Intended way of going fullscreen when using D3D11


apparently there are two ways of going in and out of fullscreen when using SDL+D3D11. IDXGISwapChain::SetFullscreenState and SDL_SetWindowFullscreen

When I use SDL_SetWindowFullscreen then that kinda works but for some reason IDXGISwapChain::GetFullscreenState will then always return false (meaning DXGI thinks we are always in window mode no matter what’s actually happening).

On the other hand when using IDXGISwapChain::SetFullscreenState then that also kinda works but then I don’t get a SDL_WINDOWEVENT_SIZE_CHANGED like I do when I’m using SDL_SetWindowFullscreen… And I intend to resize my backbuffer when that event occurs.

In short, both works but neither works perfectly. So I’m wondering what everyone else is doing?