Renamed AppKit init function.

This commit is contained in:
Camilla Berglund 2012-02-26 03:24:42 +01:00
parent c90f5d6b65
commit a202799f45

View File

@ -595,7 +595,7 @@ static void setUpMenuBar(void)
//======================================================================== //========================================================================
// Initialize the Cocoa Application Kit // Initialize the Cocoa Application Kit
//======================================================================== //========================================================================
static GLboolean initializeCocoa(void) static GLboolean initializeAppKit(void)
{ {
if (NSApp) if (NSApp)
return GL_TRUE; return GL_TRUE;
@ -813,7 +813,7 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window,
const _GLFWwndconfig* wndconfig, const _GLFWwndconfig* wndconfig,
const _GLFWfbconfig* fbconfig) const _GLFWfbconfig* fbconfig)
{ {
if (!initializeCocoa()) if (!initializeAppKit())
return GL_FALSE; return GL_FALSE;
// We can only have one application delegate, but we only allocate it the // We can only have one application delegate, but we only allocate it the