CMCHTPC / DelphiDX12

DirectX 12 Headers for Delphi and FPC
92 stars 35 forks source link

some interface Very strange! #11

Open TopPlay opened 6 years ago

TopPlay commented 6 years ago

just like:ID2D1DrawingStateBlock; when i call m_d2dContext.SaveDrawingState(m_stateBlock); this function crash with : Debug Output: D2D DEBUG ERROR - An interface [08ABDA24] not allocated by this DLL was passed to it.

also ID2D1Bitmap: when i call GetSize().same error and crash?

why ...............?

RBetting77 commented 4 years ago

Hello TopPlay, take a look at my pull request: https://github.com/CMCHTPC/DelphiDX12/pull/17 Most likely you can use that information to solve your problem.