sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.68k stars 641 forks source link

Exception when creating Swap Chain with CreateSwapChainForComposition #1073

Open jborut opened 5 years ago

jborut commented 5 years ago

I am trying to render DirectX12 in SwapChainPanel by using SharpDx but creating a SwapChain fails for an unknown reason. I've put all the details in this StackOverflow post: https://stackoverflow.com/questions/52119683/exception-when-creating-swap-chain-with-createswapchainforcomposition

Does anyone have any idea why is this failing? Examples I found were all either by using Dx11 or Windows Forms (with handle). I am trying to use Dx12 and SwapChainPanel (so without handle).

Thanks!