Tagged functions one may not call from callbacks.

This commit is contained in:
Camilla Berglund 2013-02-14 18:49:03 +01:00
parent ec8273f249
commit b48128f339
1 changed files with 6 additions and 0 deletions

View File

@ -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);