summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormuiroc <ian.mario.dev@gmail.com>2020-04-21 22:04:12 +0200
committermuiroc <ian.mario.dev@gmail.com>2020-04-21 22:04:12 +0200
commit66ab577eb843243466925cbe59b9fc18ed2c5921 (patch)
treeb651b4bf081a39b6ce6ceb8e0cf13e0424c630fe
parentbb9d89d78c08f86732c19a9c8e8f9f32f587b43a (diff)
Register the DisplayServer Singleton
-rw-r--r--servers/register_server_types.cpp1
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()));