Clarified default profile token name.

This commit is contained in:
Camilla Berglund
2013-06-05 16:13:30 +02:00
parent c3bb5c9e7b
commit 44e8401f7b
3 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -503,7 +503,7 @@ int _glfwCreateContext(_GLFWwindow* window,
// creation with a GLXBadProfileARB error in violation of the spec
if (_glfw.glx.errorCode == _glfw.glx.errorBase + GLXBadProfileARB &&
wndconfig->clientAPI == GLFW_OPENGL_API &&
wndconfig->glProfile == GLFW_OPENGL_NO_PROFILE &&
wndconfig->glProfile == GLFW_OPENGL_ANY_PROFILE &&
wndconfig->glForward == GL_FALSE)
{
window->glx.context = createLegacyContext(window, native, share);