Made flag parsing output even more consistent.

This commit is contained in:
Camilla Berglund 2012-08-01 01:46:06 +02:00
parent 98d02ebb1d
commit d1617bdd78

View File

@ -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)));
} }