From 6632cc7c1d3abf0ea64e335d35ec7b7325e1cbfb Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 11 Jul 2013 02:00:48 +0200 Subject: [PATCH] Tagged close flag for use from secondary threads. --- include/GLFW/glfw3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index bb97903c..2738fa18 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -1279,6 +1279,8 @@ GLFWAPI void glfwDestroyWindow(GLFWwindow* window); * @param[in] window The window to query. * @return The value of the close flag. * + * @remarks This function may be called from secondary threads. + * * @ingroup window */ GLFWAPI int glfwWindowShouldClose(GLFWwindow* window); @@ -1292,6 +1294,8 @@ GLFWAPI int glfwWindowShouldClose(GLFWwindow* window); * @param[in] window The window whose flag to change. * @param[in] value The new value. * + * @remarks This function may be called from secondary threads. + * * @ingroup window */ GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);