Skip to content

Instantly share code, notes, and snippets.

@sled
Last active August 29, 2015 14:07
Show Gist options
  • Save sled/b8bdeeee952aae34ce8b to your computer and use it in GitHub Desktop.
Save sled/b8bdeeee952aae34ce8b to your computer and use it in GitHub Desktop.
diff --git a/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm b/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm
--- a/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm Sat Sep 27 20:56:56 2014 +0200
+++ b/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm Thu Oct 02 22:35:36 2014 +0200
@@ -282,6 +282,8 @@
}
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