Added reference to extension.

This commit is contained in:
Camilla Berglund 2010-11-17 14:27:13 +01:00
parent c4250ca384
commit b29c4bae53

View File

@ -514,8 +514,9 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height,
if (wndconfig.glMajor != 2 || wndconfig.glMinor < 0)
{
// The OpenGL ES 2.0 profile is currently only defined for version
// 2.0, but for compatibility with future updates to OpenGL ES, we
// allow everything 2.x and let the driver report invalid versions
// 2.0 (see {WGL|GLX}_EXT_create_context_es2_profile), but for
// compatibility with future updates to OpenGL ES, we allow
// everything 2.x and let the driver report invalid versions
glfwCloseWindow(window);
_glfwSetError(GLFW_INVALID_VALUE);