fixed code comment grammar

This commit is contained in:
Andy Somogyi 2017-10-30 18:44:57 -04:00
parent 9dc86c3751
commit c9a3c3f127
2 changed files with 4 additions and 4 deletions

View File

@ -390,9 +390,9 @@ void _glfwCreateAutoreleasePool()
}
}
// Clears and resets the autorealease pool if GLFW is managing it's own even loop,
// and not using the built-in NSApplication event loop. GLFW creates it's own
// autorelease pool only if it is running it's own event 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 its own
// autorelease pool only if it is running its own event loop
void _glfwResetAutoreleasePool()
{
if(!isNSApplicationRunning())

View File

@ -164,7 +164,7 @@ void _glfwRestoreVideoModeNS(_GLFWmonitor* monitor);
// 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
// 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.
// If GLFW is in a Cocoa app, these functions don't do anything
void _glfwCreateAutoreleasePool();