mirror of
https://github.com/glfw/glfw.git
synced 2024-11-30 05:47:10 +00:00
Renamed AppKit init function.
This commit is contained in:
parent
c90f5d6b65
commit
a202799f45
@ -595,7 +595,7 @@ static void setUpMenuBar(void)
|
||||
//========================================================================
|
||||
// Initialize the Cocoa Application Kit
|
||||
//========================================================================
|
||||
static GLboolean initializeCocoa(void)
|
||||
static GLboolean initializeAppKit(void)
|
||||
{
|
||||
if (NSApp)
|
||||
return GL_TRUE;
|
||||
@ -813,7 +813,7 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window,
|
||||
const _GLFWwndconfig* wndconfig,
|
||||
const _GLFWfbconfig* fbconfig)
|
||||
{
|
||||
if (!initializeCocoa())
|
||||
if (!initializeAppKit())
|
||||
return GL_FALSE;
|
||||
|
||||
// We can only have one application delegate, but we only allocate it the
|
||||
|
Loading…
Reference in New Issue
Block a user