From 030bec01cccd53f8e4f3402f8537cdce10dbe7f4 Mon Sep 17 00:00:00 2001 From: liavt Date: Mon, 24 Jul 2017 10:53:14 -0500 Subject: [PATCH] replaced GLFWbool with int --- include/GLFW/glfw3.h | 2 +- src/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }