Created
February 15, 2015 20:37
-
-
Save NikolausDemmel/927bd7bb3f14c1788599 to your computer and use it in GitHub Desktop.
ogre1.9 fix window release
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
diff --git a/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm b/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm | |
index 71f8f90..974d279 100644 | |
--- a/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm | |
+++ b/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm | |
@@ -282,6 +282,7 @@ namespace Ogre { | |
} | |
mWindow = [mView window]; | |
+ [mWindow retain]; | |
mIsExternal = true; | |
// Add our window to the window event listener class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment