mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Updated debug context detection.
This commit is contained in:
+1
-4
@@ -303,7 +303,7 @@ int main(int argc, char** argv)
|
||||
|
||||
if (flags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT)
|
||||
printf(" forward-compatible");
|
||||
if (flags & 0)
|
||||
if (flags & GL_CONTEXT_FLAG_DEBUG_BIT)
|
||||
printf(" debug");
|
||||
putchar('\n');
|
||||
|
||||
@@ -339,9 +339,6 @@ int main(int argc, char** argv)
|
||||
get_client_api_name(api),
|
||||
glGetString(GL_VENDOR));
|
||||
|
||||
printf("OpenGL context debug flag saved by GLFW: %s\n",
|
||||
glfwGetWindowParam(window, GLFW_OPENGL_DEBUG_CONTEXT) ? "true" : "false");
|
||||
|
||||
if (major > 1)
|
||||
{
|
||||
printf("%s context shading language version: \"%s\"\n",
|
||||
|
||||
Reference in New Issue
Block a user