void App::BeforeReset_Internal() { // Need this in order to resize the swap chain DX12::FlushGPU(); BeforeReset(); }
void App::ToggleFullScreen(bool fullScreen) { if(fullScreen != deviceManager.FullScreen()) { BeforeReset(); deviceManager.SetFullScreen(fullScreen); deviceManager.Reset(); AfterReset(); } }