diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 5d0ce46ea..b8777d47b 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -1594,7 +1594,7 @@ GLFWAPI int glfwInit(void); * * @ingroup init */ -GLFWAPI GLFWbool glfwIsInit(void); +GLFWAPI int glfwIsInit(void); /*! @brief Terminates the GLFW library. * diff --git a/src/init.c b/src/init.c index dbe69884e..5a066306a 100644 --- a/src/init.c +++ b/src/init.c @@ -220,7 +220,7 @@ GLFWAPI int glfwInit(void) return GLFW_TRUE; } -GLFWAPI GLFWbool glfwIsInit(void) +GLFWAPI int glfwIsInit(void) { return _glfw.initialized; }