Merge pull request #38096 from muiroc/ds_singleton
Register the DisplayServer Singleton
This commit is contained in:
commit
0912bf110f
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ void unregister_server_types() {
|
||||||
|
|
||||||
void register_server_singletons() {
|
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("RenderingServer", RenderingServer::get_singleton()));
|
||||||
Engine::get_singleton()->add_singleton(Engine::Singleton("AudioServer", AudioServer::get_singleton()));
|
Engine::get_singleton()->add_singleton(Engine::Singleton("AudioServer", AudioServer::get_singleton()));
|
||||||
Engine::get_singleton()->add_singleton(Engine::Singleton("PhysicsServer2D", PhysicsServer2D::get_singleton()));
|
Engine::get_singleton()->add_singleton(Engine::Singleton("PhysicsServer2D", PhysicsServer2D::get_singleton()));
|
||||||
|
|
Loading…
Reference in a new issue