From 3b255af4c3901338f460e075bda811290b31732d Mon Sep 17 00:00:00 2001 From: Sylvain Boilard Date: Thu, 13 Sep 2018 16:23:44 +0200 Subject: [PATCH] Documentation work The error section of the reference documentation for glfwWaitEventsTimeout was missing. Closes #1326. --- include/GLFW/glfw3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index a9897581..fb1841c8 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -3777,6 +3777,9 @@ GLFWAPI void glfwWaitEvents(void); * * @param[in] timeout The maximum amount of time, in seconds, to wait. * + * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref + * GLFW_PLATFORM_ERROR and @ref GLFW_INVALID_VALUE. + * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread.