| 30 | namespace oid::platform { |
| 31 | |
| 32 | void run_main_loop(oid::host::FrameLoop& loop) { |
| 33 | while (loop.tick()) { |
| 34 | // Empty body: FrameLoop::tick() drives the whole frame (poll, draw, |
| 35 | // present) itself; the loop just repeats it until it returns false. |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | } // namespace oid::platform |