Renamed AppKit init function.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent c90f5d6b65
commit a202799f45
  1. 4
      src/cocoa_window.m

@ -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

Loading…
Cancel
Save