Comment updates.

This commit is contained in:
Camilla Berglund 2011-03-04 17:58:43 +01:00
parent 57eabfd17f
commit f511fa0228

View File

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