summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinghua Luo <sunmoon1997@gmail.com>2007-02-04 14:26:22 +0800
committerJinghua Luo <sunmoon1997@gmail.com>2007-02-04 14:26:22 +0800
commit465bf75a452b742489e5f713e3f07c9124622efe (patch)
treebaf638a2729ce689859734248e50bde4c8245aa9
parenta06f01bd77284af60bbf1a6ca6a1f3576fa1160c (diff)
tests: opengl test another cleanup.
-rw-r--r--src/sdl-opengl-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdl-opengl-test.c b/src/sdl-opengl-test.c
index d622d9b..9169be9 100644
--- a/src/sdl-opengl-test.c
+++ b/src/sdl-opengl-test.c
@@ -23,7 +23,7 @@ main(int argc, char *argv[])
sdl_freetype_text_extents_t extents;
/* Initialize SDL */
- if (SDL_Init(SDL_INIT_VIDEO) < 0)
+ if (SDL_Init (SDL_INIT_VIDEO) < 0)
goto errquit0;
videoflags = SDL_HWSURFACE;
@@ -31,7 +31,7 @@ main(int argc, char *argv[])
video_bpp = 32;
/* Set 640x480 video mode */
- screen = SDL_SetVideoMode(640, 480, video_bpp, videoflags);
+ screen = SDL_SetVideoMode (640, 480, video_bpp, videoflags);
if (!screen)
goto errquit0;
@@ -60,7 +60,7 @@ main(int argc, char *argv[])
done = 0;
while (!done) {
/* Check for events */
- while (SDL_PollEvent(&event)) {
+ while (SDL_PollEvent (&event)) {
switch (event.type) {
case SDL_MOUSEBUTTONDOWN:
break;