Closed UberNooga closed 8 months ago
It's possible this was being caused by the scene control in the preview window not being created on the main thread. In the next upcoming release, the preview window will always be created on the main thread which should hopefully solve this. But I'm not entirely sure since I couldn't find any other people having similar issues with OpenTK.
I'll write another comment when the release is up.
The latest release with the changes is up.
However, based on issue #170, have you tried running PSXPrev since restarting your computer?
Alright, so I've tried again on the new version and now I can't even get the scanner window open (have restarted pc). I get this error:
Get the same thing when using command line too.
Alright, thanks for checking in again. The scanner window doesn't open now, because the scanner window was changed to open after the preview window (which makes it easier to perform multiple scans). So that's expected.
I'm wondering if SDL2 shouldn't be the one trying to create the graphics context. I've attached a build with two different exe versions that try to solve that by telling the program how to setup the graphics context. Hopefully this solves the issue. 🤞
PSXPrev_PreferNative.exe
- Try this firstPSXPrev_PreferX11.exe
Tested, both of them work. Thanks!
This bug has been fixed in the latest public release: https://github.com/rickomax/psxprev/releases/tag/0.9.9.2
Using the latest release, I can't use this program at all as it crashes with the following error any time I try to scan anything. Tried debug mode and it doesn't show the error message but still crashes. Also tried running as admin and in compatibility mode to no avail.
I'm on Windows 10 and my .NET framwork is 4.8.4084.0 if that helps.