1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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

@@ -1197,6 +1197,7 @@ String OS_LinuxBSD::get_system_ca_certificates() {
return f->get_as_text();
}
#ifdef TOOLS_ENABLED
bool OS_LinuxBSD::_test_create_rendering_device(const String &p_display_driver) const {
// Tests Rendering Device creation.
@@ -1263,6 +1264,7 @@ bool OS_LinuxBSD::_test_create_rendering_device_and_gl(const String &p_display_d
#endif
return _test_create_rendering_device(p_display_driver);
}
#endif
OS_LinuxBSD::OS_LinuxBSD() {
main_loop = nullptr;

View File

@@ -137,8 +137,10 @@ public:
virtual String get_system_ca_certificates() override;
#ifdef TOOLS_ENABLED
virtual bool _test_create_rendering_device_and_gl(const String &p_display_driver) const override;
virtual bool _test_create_rendering_device(const String &p_display_driver) const override;
#endif
OS_LinuxBSD();
~OS_LinuxBSD();