FNA-XNA / FNA

FNA - Accuracy-focused XNA4 reimplementation for open platforms
https://fna-xna.github.io/
2.65k stars 272 forks source link

Avoid doing full device resets on monitor hotplug events #502

Closed flibitijibibo closed 1 week ago

flibitijibibo commented 1 week ago

Fixes #500

@DoubleBullet, does this also fix the issue?

DoubleBullet commented 1 week ago

This works great. It fixes the issue.

I guess I'll close my PR and issue. Thanks for the help!

DoubleBullet commented 1 week ago

I need to add that we need to test this on Mac and Linux if possible. I want to make sure that this is consistent on all platforms. I can test linux in a bit. Though I don't have access to Mac.

flibitijibibo commented 1 week ago

I'll test with AV1/2 today - this was the main thing we were intending to fix so as long as something weird hasn't popped up in the last 2 years this should be good to go!