mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 12:02:00 +00:00
Merge branch 'master' of github.com:elmindreda/glfw
This commit is contained in:
commit
c047bd2efe
@ -257,7 +257,7 @@ int main(int argc, char** argv)
|
|||||||
printf(" debug");
|
printf(" debug");
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
|
|
||||||
printf("OpenGL flags parsed by GLFW:");
|
printf("OpenGL context flags parsed by GLFW:");
|
||||||
|
|
||||||
if (glfwGetWindowParam(window, GLFW_OPENGL_FORWARD_COMPAT))
|
if (glfwGetWindowParam(window, GLFW_OPENGL_FORWARD_COMPAT))
|
||||||
printf(" forward-compatible");
|
printf(" forward-compatible");
|
||||||
@ -271,7 +271,7 @@ int main(int argc, char** argv)
|
|||||||
glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &mask);
|
glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &mask);
|
||||||
printf("OpenGL profile mask (0x%08x): %s\n", mask, get_profile_name(mask));
|
printf("OpenGL profile mask (0x%08x): %s\n", mask, get_profile_name(mask));
|
||||||
|
|
||||||
printf("OpenGL profile parsed by GLFW: %s\n",
|
printf("OpenGL profile mask parsed by GLFW: %s\n",
|
||||||
get_glfw_profile_name(glfwGetWindowParam(window, GLFW_OPENGL_PROFILE)));
|
get_glfw_profile_name(glfwGetWindowParam(window, GLFW_OPENGL_PROFILE)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user