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