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

SwapChain Present Issue

$
0
0

Hey everyone,
 I'm having a small problem when attempting to move to a UWP code base for SharpDX. I've fixed all problems so far but it errors out with:
     "The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action."
on the following line from TestImageSource.cs in the Present() Function:

            _chain.Present(1, PresentFlags.None, new PresentParameters());

I do know that the Swapchain.Present() suggests using Swapchain.Present1(), but that isn't an available function in any Swapchain version.

Thanks for any help,
     Curin
 
MainPage.cs:

Spoiler


TestImageSource.cs:
Spoiler

Viewing all articles
Browse latest Browse all 17560

Trending Articles



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