| 479 | } |
| 480 | |
| 481 | void VideoDriver_Allegro::MainLoop() |
| 482 | { |
| 483 | this->StartGameThread(); |
| 484 | |
| 485 | for (;;) { |
| 486 | if (_exit_game) break; |
| 487 | |
| 488 | this->Tick(); |
| 489 | this->SleepTillNextTick(); |
| 490 | } |
| 491 | |
| 492 | this->StopGameThread(); |
| 493 | } |
| 494 | |
| 495 | bool VideoDriver_Allegro::ChangeResolution(int w, int h) |
| 496 | { |
nothing calls this directly
no test coverage detected