| 651 | |
| 652 | #if EE_PLATFORM == EE_PLATFORM_EMSCRIPTEN |
| 653 | static void eepp_mainloop() { |
| 654 | Engine::instance()->getCurrentWindow()->getMainLoop()(); |
| 655 | } |
| 656 | #endif |
| 657 | |
| 658 | void Window::runMainLoop( std::function<void()> func, int fps ) { |
nothing calls this directly
no test coverage detected