From b19fb4c24deed9fdc4e9e937fb451d3d90602229 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 27 Dec 2014 21:14:41 +0100 Subject: [PATCH] Added caveat for context sharing on Windows. WGL prohibits sharing with contexts current on non-main threads. Fixes #402. --- include/GLFW/glfw3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 9601c334..2cba521e 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -1631,6 +1631,9 @@ GLFWAPI void glfwWindowHint(int target, int hint); * `GLFW_ICON,` it will be set as the icon for the window. If no such icon is * present, the `IDI_WINLOGO` icon will be used instead. * + * @remarks __Windows:__ The context to share resources with may not be current + * on any other thread. + * * @remarks __OS X:__ The GLFW window has no icon, as it is not a document * window, but the dock icon will be the same as the application bundle's icon. * For more information on bundles, see the