Skip to content

Commit

Permalink
Revert "register RenderingDevice as gdscript singleton"
Browse files Browse the repository at this point in the history
This reverts commit 1058a57.

RenderingDevice is meant to be instantiated in scripts, not a singleton.
This actually doesn't work properly right now, but reduz will fix it.
  • Loading branch information
akien-mga committed May 9, 2020
1 parent a4b8294 commit ff5dfcd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion servers/register_server_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ 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("RenderingDevice", RenderingDevice::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("PhysicsServer3D", PhysicsServer3D::get_singleton()));
Expand Down

0 comments on commit ff5dfcd

Please sign in to comment.