D1197: Wrong D3D Device
The DXGI surface passed to this API is from the wrong device.
Possible Causes
The DXGI surface passed to this API is from the wrong device.
Possible Fixes
Verify that any DXGI surfaces have the same D3D device as the D2D device context.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for