summaryrefslogtreecommitdiff
path: root/platform/haiku/os_haiku.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
-rw-r--r--platform/haiku/os_haiku.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index 3694244e0a..699b0ba1ce 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -29,6 +29,7 @@ void OS_Haiku::run() {
}
}
*/
+
app->Run();
window->StopMessageRunner();
@@ -142,6 +143,7 @@ void OS_Haiku::finalize() {
void OS_Haiku::set_main_loop(MainLoop* p_main_loop) {
main_loop = p_main_loop;
input->set_main_loop(p_main_loop);
+ window->SetMainLoop(p_main_loop);
}
MainLoop* OS_Haiku::get_main_loop() const {
@@ -154,6 +156,7 @@ void OS_Haiku::delete_main_loop() {
}
main_loop = NULL;
+ window->SetMainLoop(NULL);
}
void OS_Haiku::release_rendering_thread() {