Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
| 35 | |
| 36 | /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */ |
| 37 | static void |
| 38 | quit(int rc) |
| 39 | { |
| 40 | SDL_Quit(); |
| 41 | exit(rc); |
| 42 | } |
| 43 | |
| 44 | static int done = 0; |
| 45 | void |