summaryrefslogtreecommitdiff
path: root/scene/3d/light_3d.cpp
diff options
context:
space:
mode:
authorNutmegStudio <62319714+NutmegStudio@users.noreply.github.com>2020-04-15 14:09:48 +0700
committerNutmegStudio <62319714+NutmegStudio@users.noreply.github.com>2020-04-15 14:09:48 +0700
commitdf863cf7ee43d6c488920996ab477387379d0ad5 (patch)
treeebeee0394f86d7d33e6883fc1760c06f93e08d41 /scene/3d/light_3d.cpp
parentc9de04b628e225e74aededb3dc0fa7b772090660 (diff)
Fix typo in light3d (Texture -> Texture2D)
Diffstat (limited to 'scene/3d/light_3d.cpp')
-rw-r--r--scene/3d/light_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/light_3d.cpp b/scene/3d/light_3d.cpp
index bd95a0bfdc..9928246d2b 100644
--- a/scene/3d/light_3d.cpp
+++ b/scene/3d/light_3d.cpp
@@ -166,7 +166,7 @@ Light3D::BakeMode Light3D::get_bake_mode() const {
return bake_mode;
}
-void Light3D::set_projector(const Ref<Texture> &p_texture) {
+void Light3D::set_projector(const Ref<Texture2D> &p_texture) {
projector = p_texture;
RID tex_id = projector.is_valid() ? projector->get_rid() : RID();