1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Added stub debug context detection.

This commit is contained in:
Camilla Berglund 2012-07-31 23:52:23 +02:00
parent b00064902d
commit 302037d5b4
2 changed files with 2 additions and 4 deletions

View File

@ -1104,10 +1104,6 @@ void _glfwPlatformRefreshWindowParams(void)
forAttribute:NSOpenGLPFASamples
forVirtualScreen:0];
window->samples = value;
// These this is forced to false as long as Mac OS X lacks support for
// requesting debug contexts
window->glDebug = GL_FALSE;
}

View File

@ -366,6 +366,8 @@ GLboolean _glfwIsValidContext(_GLFWwindow* window, _GLFWwndconfig* wndconfig)
if (flags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT)
window->glForward = GL_TRUE;
if (flags & 0)
window->glDebug = GL_TRUE;
}
}