mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 12:02:00 +00:00
Tagged close flag for use from secondary threads.
This commit is contained in:
parent
45653c5549
commit
6632cc7c1d
@ -1279,6 +1279,8 @@ GLFWAPI void glfwDestroyWindow(GLFWwindow* window);
|
|||||||
* @param[in] window The window to query.
|
* @param[in] window The window to query.
|
||||||
* @return The value of the close flag.
|
* @return The value of the close flag.
|
||||||
*
|
*
|
||||||
|
* @remarks This function may be called from secondary threads.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
GLFWAPI int glfwWindowShouldClose(GLFWwindow* 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] window The window whose flag to change.
|
||||||
* @param[in] value The new value.
|
* @param[in] value The new value.
|
||||||
*
|
*
|
||||||
|
* @remarks This function may be called from secondary threads.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
|
GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value);
|
||||||
|
Loading…
Reference in New Issue
Block a user