System.AccessViolationException Direct2D1 #403
-
An unhandled exception of type 'System.AccessViolationException' occurred in Vortice.Direct2D1.dll System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' I am trying to create _renderTarget for Direct2D to integarte it in Directx12 project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Give some code so I can help, this way is useless. |
Beta Was this translation helpful? Give feedback.
You should use D3D12On11, follow this sample https://github.com/microsoft/DirectX-Graphics-Samples/blob/master/Samples/Desktop/D3D1211On12/src/D3D1211On12.cpp