mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Tagged functions one may not call from callbacks.
This commit is contained in:
parent
ec8273f249
commit
b48128f339
@ -1099,6 +1099,8 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, G
|
||||
*
|
||||
* @note This function may only be called from the main thread.
|
||||
*
|
||||
* @note This function may not be called from a callback.
|
||||
*
|
||||
* @note If the window's context is current on the main thread, it is
|
||||
* detached before being destroyed.
|
||||
*
|
||||
@ -1390,6 +1392,8 @@ GLFWAPI void glfwSetWindowIconifyCallback(GLFWwindow* window, GLFWwindowiconifyf
|
||||
*
|
||||
* @note This function may only be called from the main thread.
|
||||
*
|
||||
* @note This function may not be called from a callback.
|
||||
*
|
||||
* @sa glfwWaitEvents
|
||||
*/
|
||||
GLFWAPI void glfwPollEvents(void);
|
||||
@ -1399,6 +1403,8 @@ GLFWAPI void glfwPollEvents(void);
|
||||
*
|
||||
* @note This function may only be called from the main thread.
|
||||
*
|
||||
* @note This function may not be called from a callback.
|
||||
*
|
||||
* @sa glfwPollEvents
|
||||
*/
|
||||
GLFWAPI void glfwWaitEvents(void);
|
||||
|
Loading…
Reference in New Issue
Block a user