From bfa61d5b22151b2f925ed33a119c6625facb61d1 Mon Sep 17 00:00:00 2001 From: Sylvain Boilard Date: Thu, 13 Sep 2018 16:23:44 +0200 Subject: [PATCH] Added missing error specification for glfwWaitEventsTimeout. --- include/GLFW/glfw3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 1fc8fe556..4d0b4f4f9 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -3762,6 +3762,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.