mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-27 04:28:52 -05:00
Comment updates.
This commit is contained in:
parent
57eabfd17f
commit
f511fa0228
|
@ -628,6 +628,8 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height,
|
||||||
if (window->glMajor > 2)
|
if (window->glMajor > 2)
|
||||||
{
|
{
|
||||||
// OpenGL 3.0+ uses a different function for extension string retrieval
|
// 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");
|
window->GetStringi = (PFNGLGETSTRINGIPROC) glfwGetProcAddress("glGetStringi");
|
||||||
if (!window->GetStringi)
|
if (!window->GetStringi)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user