summaryrefslogtreecommitdiffstats
path: root/scene/3d/decal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/decal.cpp')
-rw-r--r--scene/3d/decal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/decal.cpp b/scene/3d/decal.cpp
index acd52da8b0..6878df21d8 100644
--- a/scene/3d/decal.cpp
+++ b/scene/3d/decal.cpp
@@ -162,8 +162,8 @@ void Decal::_validate_property(PropertyInfo &p_property) const {
}
}
-Array Decal::get_configuration_warnings() const {
- Array warnings = Node::get_configuration_warnings();
+PackedStringArray Decal::get_configuration_warnings() const {
+ PackedStringArray warnings = Node::get_configuration_warnings();
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility") {
warnings.push_back(RTR("Decals are only available when using the Forward+ or Mobile rendering backends."));