Exclude RD creation test functions from templates

This commit is contained in:
Pedro J. Estébanez 2025-05-15 10:12:38 +02:00
parent 53bee4eb56
commit 820380817a
5 changed files with 10 additions and 0 deletions

View file

@ -365,9 +365,11 @@ public:
// This is invoked by the GDExtensionManager after loading GDExtensions specified by the project.
virtual void load_platform_gdextensions() const {}
#ifdef TOOLS_ENABLED
// Tests OpenGL context and Rendering Device simultaneous creation. This function is expected to crash on some NVIDIA drivers.
virtual bool _test_create_rendering_device_and_gl(const String &p_display_driver) const { return true; }
virtual bool _test_create_rendering_device(const String &p_display_driver) const { return true; }
#endif
OS();
virtual ~OS();