diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-21 23:03:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 23:03:06 +0200 |
commit | 0912bf110ff4424fdc8606410350dc17491b08b3 (patch) | |
tree | 05645f234c5fff3306ee518dc7f899a34208389b | |
parent | acfca3b77b4ffed71c5e28d0b4d09b33c6f39881 (diff) | |
parent | 66ab577eb843243466925cbe59b9fc18ed2c5921 (diff) |
Merge pull request #38096 from muiroc/ds_singleton
Register the DisplayServer Singleton
-rw-r--r-- | servers/register_server_types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp index 65947fa1b7..60217002fb 100644 --- a/servers/register_server_types.cpp +++ b/servers/register_server_types.cpp @@ -216,6 +216,7 @@ void unregister_server_types() { void register_server_singletons() { + Engine::get_singleton()->add_singleton(Engine::Singleton("DisplayServer", DisplayServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("RenderingServer", RenderingServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("AudioServer", AudioServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("PhysicsServer2D", PhysicsServer2D::get_singleton())); |