Skip to content

Wrap SDL2 call with trivial-main-thread to run in main thread#1335

Merged
cxxxr merged 1 commit intolem-project:mainfrom
resttime:main
Mar 12, 2024
Merged

Wrap SDL2 call with trivial-main-thread to run in main thread#1335
cxxxr merged 1 commit intolem-project:mainfrom
resttime:main

Conversation

@resttime
Copy link
Contributor

On Mac OSx the GUI needs to run in the main thread. If running from another thread such as a REPL, the SDL2 frontend will fail so it's necessary to ensure execution is running in the actual main thread.

@cxxxr cxxxr merged commit 6778ea0 into lem-project:main Mar 12, 2024
@cxxxr
Copy link
Member

cxxxr commented Mar 12, 2024

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants