-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
There's a error that happens when, in the same dyalogAPL session, you repeatedly run initWindow and closeWindow about 13 times. This is on Linux X11. Happens in both Ride and dyalog-TUI. Doesn't happen in dyalogscript.
The error is specifically this:
WARNING: GLFW: Error: 65542 Description: GLX: No GLXFBConfigs returned
WARNING: GLFW: Error: 65545 Description: GLX: Failed to find a suitable GLXFBConfig
dyalog: external/glfw/src/window.c:581: glfwGetWindowPos: Assertion `window != NULL' failed.
apl: syserror 999.
According to this msg on raylib discord by JeffM it's saying that GLFW asked the OS to create a window with OpenGL, and the windowing system said "no".
I believe it's due to dyalog messing with UI resources which makes raylib's cleanup not work, so resources get used up, even on dyalog-TUI.
Reproduce in a DyalogAPL session, assuming your path is currently raylibAPL/. To see the crash error, make sure to be using the dyalog-TUI:
]cd link
]create # .
raylib.Init''
i←0
:while 13>i⊣i+←1 ⋄ raylib.InitWindow 400 400 'h' ⋄ raylib.CloseWindow⍬ ⋄ :endWhile
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels