commit | d4a08b10fdf162e34e3e42b95cfbfab3327bf3b8 | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Sun Dec 02 17:13:41 2012 +0100 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Sun Dec 02 17:13:41 2012 +0100 |
tree | 15474fb7c0436e7891b17ca2e2fb63e986f5be41 | |
parent | 20c891f56691799094095d177af07dbfa3e948c4 [diff] [blame] |
Documented joystick name caveat.
diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index 966234d..23fcefa 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h
@@ -1540,6 +1540,9 @@ * @return The UTF-8 encoded name of the joystick, or @c NULL if the joystick * is not present. * @ingroup input + * + * @note The returned string is valid only until the next call to @ref + * glfwGetJoystickName. */ GLFWAPI const char* glfwGetJoystickName(int joy);