mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Added printing of debug context window parameter.
This commit is contained in:
parent
8f82e02a51
commit
8a948753df
|
@ -288,6 +288,9 @@ int main(int argc, char** argv)
|
||||||
get_glfw_profile_name(glfwGetWindowParam(window, GLFW_OPENGL_PROFILE)));
|
get_glfw_profile_name(glfwGetWindowParam(window, GLFW_OPENGL_PROFILE)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("OpenGL context debug flag saved by GLFW: %s\n",
|
||||||
|
glfwGetWindowParam(window, GLFW_OPENGL_DEBUG_CONTEXT) ? "true" : "false");
|
||||||
|
|
||||||
printf("OpenGL context renderer string: \"%s\"\n", glGetString(GL_RENDERER));
|
printf("OpenGL context renderer string: \"%s\"\n", glGetString(GL_RENDERER));
|
||||||
printf("OpenGL context vendor string: \"%s\"\n", glGetString(GL_VENDOR));
|
printf("OpenGL context vendor string: \"%s\"\n", glGetString(GL_VENDOR));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user