Fixed glfwSetTime accepting invalid values.

Fixes #436.
This commit is contained in:
Camilla Berglund
2015-02-19 23:49:46 +01:00
parent 11c22d6a17
commit 85de0db05d
3 changed files with 10 additions and 1 deletions

View File

@@ -3136,7 +3136,7 @@ GLFWAPI double glfwGetTime(void);
/*! @brief Sets the GLFW timer.
*
* This function sets the value of the GLFW timer. It then continues to count
* up from that value.
* up from that value. The value must be a positive finite number.
*
* @param[in] time The new value, in seconds.
*