Resolution change in fullscreen mode

Started by
0 comments, last by MJP 12 years, 6 months ago
How do I change resolution after having created device and swapchain in DX10(+)? I mean, while the game is running and rendering, I may decide to change resolution. Is there an easy function to achieve this? Do I have to Release() EVERYTHING and start all over? The same applies to AntiAliasing Count/Quality?

Thanks in advance.
Advertisement
Just call IDXGISwapChain::ResizeBuffers. The only thing you need to Release is any pointers to backbuffer textures/render targets.

This topic is closed to new replies.

Advertisement