Check if RD is supported in the ProjectManager and disable creating RD projects if not supported.

This commit is contained in:
clayjohn 2024-04-25 10:37:38 -07:00
parent 3978628c6c
commit 04d0e7f7a4
4 changed files with 75 additions and 3 deletions

View file

@ -594,6 +594,8 @@ public:
static Vector<String> get_create_function_rendering_drivers(int p_index);
static DisplayServer *create(int p_index, const String &p_rendering_driver, WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Context p_context, Error &r_error);
static bool can_create_rendering_device();
DisplayServer();
~DisplayServer();
};