1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00

Formatting.

This commit is contained in:
Camilla Berglund 2015-07-01 14:58:43 +02:00
parent 1ab9dbab60
commit cf10e318d6

View File

@ -218,6 +218,7 @@ static void print_version(void)
int main(int argc, char** argv)
{
int ch, api, major, minor, revision, profile;
GLint redbits, greenbits, bluebits, alphabits, depthbits, stencilbits;
GLboolean list = GL_FALSE;
GLFWwindow* window;
@ -557,11 +558,8 @@ int main(int argc, char** argv)
glGetString(GL_SHADING_LANGUAGE_VERSION));
}
{
printf("Framebuffer:\n");
GLint redbits, greenbits, bluebits, alphabits, depthbits, stencilbits;
if (api == GLFW_OPENGL_API && profile == GLFW_OPENGL_CORE_PROFILE)
{
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC
@ -637,7 +635,6 @@ int main(int argc, char** argv)
printf(" accum red: %u accum green: %u accum blue: %u accum alpha: %u aux buffers: %u\n",
accumredbits, accumgreenbits, accumbluebits, accumalphabits, auxbuffers);
}
}
// Report client API extensions
if (list)