Add statement to docs for glfwTerminate

It is safe to call glfwTerminate both before initialization and after
termination.

Closes #1698.
This commit is contained in:
A. Tombs 2020-05-22 14:37:58 +01:00 committed by Camilla Löwy
parent 105cf32e0b
commit 7486e12f88
1 changed files with 2 additions and 0 deletions

View File

@ -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.