iOS: Fixed compiling demos on C89 compilers.
This commit is contained in:
parent
831597f714
commit
f3ca4e4d50
4 changed files with 10 additions and 7 deletions
|
@ -147,8 +147,8 @@ main(int argc, char *argv[])
|
|||
/* main loop */
|
||||
done = 0;
|
||||
while (!done) {
|
||||
startFrame = SDL_GetTicks();
|
||||
SDL_Event event;
|
||||
startFrame = SDL_GetTicks();
|
||||
while (SDL_PollEvent(&event)) {
|
||||
if (event.type == SDL_QUIT) {
|
||||
done = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue