summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-19 16:19:47 +0100
committerGitHub <noreply@github.com>2017-11-19 16:19:47 +0100
commit992a40a50dc886ba29a907360374b18f1cbeaebb (patch)
treeb6bfddb3b0d4ddfe54481c17bd997e8571a0c441 /main
parent9107357c8dfda98c5adb33d3c5f4a7be1996fa07 (diff)
parent63b1a096eb17fd52cd46c36177e5158dce54a60a (diff)
Merge pull request #12961 from eska014/platform-doc
Facilitate documenting platform-exclusive classes
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 3a87742528..023520017b 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -35,6 +35,7 @@
#include "message_queue.h"
#include "modules/register_module_types.h"
#include "os/os.h"
+#include "platform/register_platform_apis.h"
#include "project_settings.h"
#include "scene/register_scene_types.h"
#include "script_debugger_local.h"
@@ -1108,6 +1109,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
MAIN_PRINT("Main: Load Modules, Physics, Drivers, Scripts");
+ register_platform_apis();
register_module_types();
initialize_physics();
@@ -1826,6 +1828,7 @@ void Main::cleanup() {
unregister_driver_types();
unregister_module_types();
+ unregister_platform_apis();
unregister_scene_types();
unregister_server_types();