From e1495c013d57604e3a716a702d21fd408d44028f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 9 Aug 2018 13:57:10 +0200 Subject: [PATCH] Fix missing API reference thread safety section Fixes #1312. --- include/GLFW/glfw3.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 990fe3f7..085128ee 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -4901,6 +4901,8 @@ GLFWAPI const char* glfwGetGamepadName(int jid); * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * + * @thread_safety This function must only be called from the main thread. + * * @sa @ref gamepad * @sa @ref glfwUpdateGamepadMappings * @sa @ref glfwJoystickIsGamepad