-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix NULL window when reloading game.
Previously the blenderplayer window was own by the launcher but the functions instantiating the window was called only ones. To solve this issue the window management is separated to the launcher. The LA_PlayerLauncher just had now a take as constructor argument the main window as it doesn't allocate it. Finally the main() of the blenderplayer use a pointer to the created window at the first game run. Also the the deletion of the window is made just before the deletion of the system in the blenderplayer main().
- Loading branch information
1 parent
ce5ba1f
commit 51762c3
Showing
4 changed files
with
248 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.