mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 12:18:51 -05:00
Formatting.
This commit is contained in:
parent
1ab9dbab60
commit
cf10e318d6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user