Skip to content

Commit

Permalink
Port fix for destroying windows for ogre2.2 (#1092)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <ichen@openrobotics.org>
  • Loading branch information
iche033 authored Dec 17, 2024
1 parent 5901faa commit d10d19e
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 d10d19e

Please sign in to comment.