| 350 | } |
| 351 | |
| 352 | void OS_Android::main_loop_begin() { |
| 353 | if (main_loop) { |
| 354 | main_loop->initialize(); |
| 355 | } |
| 356 | |
| 357 | #ifdef TOOLS_ENABLED |
| 358 | if (Engine::get_singleton()->is_editor_hint()) { |
| 359 | GameViewPlugin *game_view_plugin = _get_game_view_plugin(); |
| 360 | if (game_view_plugin != nullptr) { |
| 361 | game_view_plugin->connect("main_screen_changed", callable_mp_static(&OS_Android::_on_main_screen_changed)); |
| 362 | } |
| 363 | } |
| 364 | #endif |
| 365 | } |
| 366 | |
| 367 | bool OS_Android::main_loop_iterate(bool *r_should_swap_buffers) { |
| 368 | if (!main_loop) { |
no test coverage detected