comparison Xcode/TemplatesForXcode/SDL OpenGL Application/main.c @ 2215:23a2cb765052

make indent
author Bob Pendleton <bob@pendleton.com>
date Wed, 25 Jul 2007 21:23:28 +0000
parents 59a667370c57
children 4d2d0548f5b2
comparison
equal deleted inserted replaced
2214:e7164a4dac62 2215:23a2cb765052
51 51
52 int attr[] = { SDL_GL_RED_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_GREEN_SIZE, 52 int attr[] = { SDL_GL_RED_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_GREEN_SIZE,
53 SDL_GL_ALPHA_SIZE, SDL_GL_BUFFER_SIZE, SDL_GL_DEPTH_SIZE 53 SDL_GL_ALPHA_SIZE, SDL_GL_BUFFER_SIZE, SDL_GL_DEPTH_SIZE
54 }; 54 };
55 55
56 char *desc[] = 56 char *desc[] = { "Red size: %d bits\n", "Blue size: %d bits\n",
57 { "Red size: %d bits\n", "Blue size: %d bits\n", 57 "Green size: %d bits\n",
58 "Green size: %d bits\n",
59 "Alpha size: %d bits\n", "Color buffer size: %d bits\n", 58 "Alpha size: %d bits\n", "Color buffer size: %d bits\n",
60 "Depth bufer size: %d bits\n" 59 "Depth bufer size: %d bits\n"
61 }; 60 };
62 61
63 nAttr = sizeof(attr) / sizeof(int); 62 nAttr = sizeof(attr) / sizeof(int);