From f511fa0228c16503c20953945f0bb98a3192475a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 4 Mar 2011 17:58:43 +0100 Subject: [PATCH] Comment updates. --- src/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.c b/src/window.c index 1377e7a2..6f860c28 100644 --- a/src/window.c +++ b/src/window.c @@ -628,6 +628,8 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height, if (window->glMajor > 2) { // OpenGL 3.0+ uses a different function for extension string retrieval + // We cache it here instead of in glfwExtensionSupported mostly to alert + // users as early as possible that their build may be broken window->GetStringi = (PFNGLGETSTRINGIPROC) glfwGetProcAddress("glGetStringi"); if (!window->GetStringi)