rickomax / psxprev

PSXPREV - Playstation (PSX) Files Previewer/Extractor
BSD 2-Clause "Simplified" License
193 stars 10 forks source link

Fix #40: Switch to Toolkit.Init PreferNative backend #190

Closed trigger-segfault closed 9 months ago

trigger-segfault commented 9 months ago

This solves long-standing issue #40, where a user could not start the program because GLControl would throw an AccessViolationException during the HandleCreated event. Alternatively we can just not call Toolkit.Init, since GLControl does that, but it doesn't hurt to call it early if we're calling it with the same options.