From 7ce8e97b13860c775e80ced838407f864c44f48c Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 8 Feb 2024 23:45:33 +0100 Subject: [PATCH] Disabled the WindowServer for now. --- servers/{ => disabled}/window_server.cpp | 0 servers/{ => disabled}/window_server.h | 0 servers/register_server_types.cpp | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename servers/{ => disabled}/window_server.cpp (100%) rename servers/{ => disabled}/window_server.h (100%) diff --git a/servers/window_server.cpp b/servers/disabled/window_server.cpp similarity index 100% rename from servers/window_server.cpp rename to servers/disabled/window_server.cpp diff --git a/servers/window_server.h b/servers/disabled/window_server.h similarity index 100% rename from servers/window_server.h rename to servers/disabled/window_server.h diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp index e36cecbd8..0cb6b74ad 100644 --- a/servers/register_server_types.cpp +++ b/servers/register_server_types.cpp @@ -68,7 +68,7 @@ #include "servers/physics_2d_server.h" #include "servers/physics_server.h" #include "servers/rendering_server.h" -#include "servers/window_server.h" +//#include "servers/window_server.h" static void _debugger_get_resource_usage(List *r_usage) { List tinfo; @@ -114,7 +114,7 @@ void register_server_types() { ClassDB::register_virtual_class(); - ClassDB::register_virtual_class(); + //ClassDB::register_virtual_class(); ClassDB::register_class(); @@ -229,7 +229,7 @@ void unregister_server_types() { void register_server_singletons() { Engine::get_singleton()->add_singleton(Engine::Singleton("RenderingServer", RenderingServer::get_singleton())); - Engine::get_singleton()->add_singleton(Engine::Singleton("WindowServer", WindowServer::get_singleton())); + //Engine::get_singleton()->add_singleton(Engine::Singleton("WindowServer", WindowServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("PhysicsServer", PhysicsServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("Physics2DServer", Physics2DServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("AudioServer", AudioServer::get_singleton()));