| 362 | } |
| 363 | |
| 364 | void init_create_window() |
| 365 | { |
| 366 | if (!SpawnWindow(PROJECT_NAME)) |
| 367 | app_fatal(_("Unable to create main window")); |
| 368 | dx_init(); |
| 369 | gbActive = true; |
| 370 | #ifndef USE_SDL1 |
| 371 | SDL_DisableScreenSaver(); |
| 372 | #endif |
| 373 | } |
| 374 | |
| 375 | void MainWndProc(const SDL_Event &event) |
| 376 | { |
no test coverage detected