microsoft / WPFDXInterop

Repo for WPF DX Interop support
MIT License
307 stars 98 forks source link

Surface Not Automatically Validated When Display is Closed and Reopened #49

Open zhan2016 opened 8 months ago

zhan2016 commented 8 months ago

I have pulled the code from your repository, and everything renders correctly in DirectX. The cube is also displayed properly. However, when I close the display for a few seconds and then reopen it, the application stops rendering anything. Simply resizing the application window restores normal rendering. Would you be able to kindly investigate and fix this issue? Normal status: image worng status: image