Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Swapchain presentation freezing issue

$
0
0

Hi.

I found that when creating Swapchain with swapEffect = discard, then dispose it and create new swapchain with swapEffect = flipsequental, then dispose it and create again swapchain with swapeffect = discard,

It will stop presenting anything on the screen and will be no error. Image just stop updating.

But if I create new swapchain with swapEffect = flipsequental, presenting starts working again, but from that moment you cannot see anything if you create swapchain with discard effect during current lifecycle.
Seems this issue causing only for discard -> flipsequental -> discard sequence.

Could someone say is this by design?

Does anyone faced similar issue in DirectX 11?

 

P.S. I forgot to mention that I did this with Desktop window and Windows 8.1/10.


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>