Unexpected exception moving from SharpDX to Silk.NET #1530
Unanswered
Momeigetsu
asked this question in
Q&A
Replies: 1 comment
-
Moving this to a discussion until we have evidence that this is a Silk.NET bug. At a guess this is an incorrect porting of implicit behaviour in SharpDX. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am renovating a project I wrote before which had some Direct2D content using SharpDX. Then I moved to Silk.NET and encountered a strange problem. I can't use the CreateBitmapFromDxgiSurface method (hr=0x80070002). I think this should not be a problem with my environment configuration? Because it can still be used normally in SharpDX.
SharpDX version:
Silk.NET version:
This makes me very strange because
new D2D.Bitmap1 (_d2d_DeviceContext, DXGI.Surface.FromSwapChain (_swapChain, 0));
in SharpDX also usesCreateBitmapFromDxgiSurface
, but it cannot be used in Silk.NET.Beta Was this translation helpful? Give feedback.
All reactions