Skip to content

Commit

Permalink
Port fix for destroying windows for ogre2.2
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Dec 16, 2024
1 parent 5901faa commit e6d0880
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ogre2/src/Ogre2RenderEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ void Ogre2RenderEngine::Destroy()
{
}
this->ogreRoot = nullptr;

#ifdef _WIN32
UnregisterClassA("OgreGLWindow", nullptr);
#endif
}

delete this->ogreLogManager;
Expand Down

0 comments on commit e6d0880

Please sign in to comment.