mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
fixed code comment grammar
This commit is contained in:
parent
9dc86c3751
commit
c9a3c3f127
@ -390,9 +390,9 @@ void _glfwCreateAutoreleasePool()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clears and resets the autorealease pool if GLFW is managing it's own even loop,
|
// Clears and resets the autorealease pool if GLFW is managing its own even loop,
|
||||||
// and not using the built-in NSApplication event loop. GLFW creates it's own
|
// and not using the built-in NSApplication event loop. GLFW creates its own
|
||||||
// autorelease pool only if it is running it's own event loop
|
// autorelease pool only if it is running its own event loop
|
||||||
void _glfwResetAutoreleasePool()
|
void _glfwResetAutoreleasePool()
|
||||||
{
|
{
|
||||||
if(!isNSApplicationRunning())
|
if(!isNSApplicationRunning())
|
||||||
|
@ -164,7 +164,7 @@ void _glfwRestoreVideoModeNS(_GLFWmonitor* monitor);
|
|||||||
|
|
||||||
// If GLFW is running as a stand-alone application, we create a global autorealease
|
// If GLFW is running as a stand-alone application, we create a global autorealease
|
||||||
// pool. If GLFW is running in an existing native Cocoa app, the underlying
|
// pool. If GLFW is running in an existing native Cocoa app, the underlying
|
||||||
// NSApplication creates it's own autorelease pool. These functions check if GLFW
|
// NSApplication creates its own autorelease pool. These functions check if GLFW
|
||||||
// is running in a Cocoa app or not, and creates the autorealease pool accordingly.
|
// is running in a Cocoa app or not, and creates the autorealease pool accordingly.
|
||||||
// If GLFW is in a Cocoa app, these functions don't do anything
|
// If GLFW is in a Cocoa app, these functions don't do anything
|
||||||
void _glfwCreateAutoreleasePool();
|
void _glfwCreateAutoreleasePool();
|
||||||
|
Loading…
Reference in New Issue
Block a user