1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

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

View File

@ -1881,6 +1881,8 @@ GLFWAPI int glfwInit(void);
* call this function, as it is called by @ref glfwInit before it returns * call this function, as it is called by @ref glfwInit before it returns
* failure. * failure.
* *
* This function has no effect if GLFW is not initialized.
*
* @errors Possible errors include @ref GLFW_PLATFORM_ERROR. * @errors Possible errors include @ref GLFW_PLATFORM_ERROR.
* *
* @remark This function may be called before @ref glfwInit. * @remark This function may be called before @ref glfwInit.