Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a recursive call into main() #2

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

pcbeard
Copy link
Contributor

@pcbeard pcbeard commented Jan 27, 2024

When built as a shared library, the call from godot_main() ends up calling the app's actual main, and hilarity ensues. Simple fix is to define a common linux_main(), which is called by either godot_main() or the real main() when built as an executable.

When built as a shared library, the call from godot_main() ends up
calling the app's actual main, and hilarity ensues. Simple fix is
to define a common linux_main(), which is called by either godot_main()
or the real main() when built as an executable.
@migueldeicaza migueldeicaza merged commit 2e58695 into migueldeicaza:libgodot-4.2 Jan 27, 2024
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