Commit 2c8f1d1
committed
mac: jogl: Fix DestroyNSWindow dispatch bug (fixes #514)
JOGL's DestroyNSWindow0 is called from SharedResourceRunner thread
during OpenGL capability detection cleanup. macOS requires NSWindow
operations on the main thread, causing a crash:
"Must only be used from the main thread"
Patch OSXUtil.DestroyNSWindow in jogl-all.jar to dispatch via
RunOnMainThread when called from a background thread, matching how
CreateNSWindow is already handled. The issue includes a script for
applying this patch to the original 2.4.0 jar version.
Related bug: https://jogamp.org/bugzilla/show_bug.cgi?id=13701 parent 6b24fda commit 2c8f1d1
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Binary file not shown.
0 commit comments