Created
September 3, 2014 12:27
-
-
Save hgaiser/9ed14de3d776cd34100e to your computer and use it in GitHub Desktop.
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 3956f21..47e41f0 100644 | |
--- a/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm | |
+++ b/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm | |
@@ -290,6 +290,7 @@ namespace Ogre { | |
} | |
mWindow = [mView window]; | |
+ [mWindow retain]; | |
// Add our window to the window event listener class | |
WindowEventUtilities::_addRenderWindow(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment