Mercurial > sdl-ios-xcode
comparison test/testtimer.c @ 1484:b2b476a4a73c
Added documentation on how to build a completely useless SDL library. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 08 Mar 2006 08:30:17 +0000 |
parents | be9c9c8f6d53 |
children | f58c88a4dff5 |
comparison
equal
deleted
inserted
replaced
1483:52a61c7b323b | 1484:b2b476a4a73c |
---|---|
35 { | 35 { |
36 int desired; | 36 int desired; |
37 SDL_TimerID t1, t2, t3; | 37 SDL_TimerID t1, t2, t3; |
38 | 38 |
39 if ( SDL_Init(SDL_INIT_TIMER) < 0 ) { | 39 if ( SDL_Init(SDL_INIT_TIMER) < 0 ) { |
40 fprintf(stderr, "Couldn't load SDL: %s\n", SDL_GetError()); | 40 fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError()); |
41 return(1); | 41 return(1); |
42 } | 42 } |
43 | 43 |
44 /* Start the timer */ | 44 /* Start the timer */ |
45 desired = 0; | 45 desired = 0; |