iOS: Fixed compiling demos on C89 compilers.

This commit is contained in:
Philipp Wiesemann 2016-04-01 21:14:49 +02:00
parent 831597f714
commit f3ca4e4d50
4 changed files with 10 additions and 7 deletions

View file

@ -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;