From 7486e12f88b2a9039b805356bcbe259c0fca5c2d Mon Sep 17 00:00:00 2001 From: "A. Tombs" Date: Fri, 22 May 2020 14:37:58 +0100 Subject: [PATCH] Add statement to docs for glfwTerminate It is safe to call glfwTerminate both before initialization and after termination. Closes #1698. --- include/GLFW/glfw3.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index b239735e..9893e359 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -1881,6 +1881,8 @@ GLFWAPI int glfwInit(void); * call this function, as it is called by @ref glfwInit before it returns * failure. * + * This function has no effect if GLFW is not initialized. + * * @errors Possible errors include @ref GLFW_PLATFORM_ERROR. * * @remark This function may be called before @ref glfwInit.