Skip to content

Commit fa9dafa

Browse files
committed
Fixes crash on exit.
1 parent b9cb71f commit fa9dafa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/port/Engine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ void GameEngine::Create() {
411411

412412
void GameEngine::Destroy() {
413413
GhostshipGui::Destroy();
414+
gsFast3dWindow = nullptr;
414415
Instance->context = nullptr;
415416
AudioExit();
416417
#ifdef __SWITCH__

0 commit comments

Comments
 (0)