diff --git a/src/init.c b/src/init.c index cc682ea8..8e12377e 100644 --- a/src/init.c +++ b/src/init.c @@ -437,11 +437,9 @@ GLFWAPI void glfwTerminate(void) terminate(); } -GLFWAPI int glfwIsInitialized(void){ - if (_glfw.initialized) - return GLFW_TRUE; - - return GLFW_FALSE; +GLFWAPI int glfwIsInitialized(void) +{ + return _glfw.initialized; } GLFWAPI void glfwInitHint(int hint, int value)