From 948be592bead5a666174d452a384ab813b778ab8 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 27 Dec 2012 18:26:51 +0100 Subject: [PATCH] Documented callback clearing at window destruction time. --- include/GL/glfw3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index 9ceae2c2..bd968a6c 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -1212,6 +1212,10 @@ GLFWAPI GLFWwindow glfwCreateWindow(int width, int height, int mode, const char* * @note If the window's context is current on the main thread, it is * detached before being destroyed. * + * @note On calling this function, no further callbacks will be called for + * the specified window, even if their associated events occur during window + * destruction. + * * @warning The window's context must not be current on any other thread. * * @sa glfwCreateWindow