mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Added reference to extension.
This commit is contained in:
parent
c4250ca384
commit
b29c4bae53
@ -514,8 +514,9 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height,
|
|||||||
if (wndconfig.glMajor != 2 || wndconfig.glMinor < 0)
|
if (wndconfig.glMajor != 2 || wndconfig.glMinor < 0)
|
||||||
{
|
{
|
||||||
// The OpenGL ES 2.0 profile is currently only defined for version
|
// The OpenGL ES 2.0 profile is currently only defined for version
|
||||||
// 2.0, but for compatibility with future updates to OpenGL ES, we
|
// 2.0 (see {WGL|GLX}_EXT_create_context_es2_profile), but for
|
||||||
// allow everything 2.x and let the driver report invalid versions
|
// compatibility with future updates to OpenGL ES, we allow
|
||||||
|
// everything 2.x and let the driver report invalid versions
|
||||||
|
|
||||||
glfwCloseWindow(window);
|
glfwCloseWindow(window);
|
||||||
_glfwSetError(GLFW_INVALID_VALUE);
|
_glfwSetError(GLFW_INVALID_VALUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user