Skip to content

Instantly share code, notes, and snippets.

@sled
Last active August 29, 2015 14:07
Show Gist options
  • Save sled/fa341d1a920b66d8f5c2 to your computer and use it in GitHub Desktop.
Save sled/fa341d1a920b66d8f5c2 to your computer and use it in GitHub Desktop.
diff -r edccf8cc52e3 RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm
--- a/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm Fri Jun 20 00:53:20 2014 +0200
+++ b/RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm Thu Oct 02 00:33:03 2014 +0200
@@ -118,7 +118,7 @@
NSString *windowTitle = [NSString stringWithCString:name.c_str() encoding:NSUTF8StringEncoding];
int winx = 0, winy = 0;
int depth = 32;
- NameValuePairList::const_iterator opt(NULL);
+ NameValuePairList::const_iterator opt;
mIsFullScreen = fullScreen;
@@ -232,7 +232,7 @@
}
else
{
- NameValuePairList::const_iterator param_useNSView_pair(NULL);
+ NameValuePairList::const_iterator param_useNSView_pair;
param_useNSView_pair = miscParams->find("macAPICocoaUseNSView");
if(param_useNSView_pair != miscParams->end())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment