summaryrefslogtreecommitdiff
path: root/scene/2d/mesh_instance_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-10-24 22:13:57 +0200
committerGitHub <noreply@github.com>2020-10-24 22:13:57 +0200
commitd5bda5964978b6af7a956262cecf80de1797500c (patch)
treef5b2f2ec923bf3eb1593531bc3d91c3dc1a1c0a1 /scene/2d/mesh_instance_2d.cpp
parentb67ccf1a6f326c5d4d5fa1cc7cd15eff3573f8f7 (diff)
parent84d734da0e4dc4f0076c61a7178d8ad7b9f3b616 (diff)
Merge pull request #43052 from reduz/refactor-2d-lighting
Refactored 2D shader and lighting system
Diffstat (limited to 'scene/2d/mesh_instance_2d.cpp')
-rw-r--r--scene/2d/mesh_instance_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/mesh_instance_2d.cpp b/scene/2d/mesh_instance_2d.cpp
index 897595ad1f..037e423ce9 100644
--- a/scene/2d/mesh_instance_2d.cpp
+++ b/scene/2d/mesh_instance_2d.cpp
@@ -33,7 +33,7 @@
void MeshInstance2D::_notification(int p_what) {
if (p_what == NOTIFICATION_DRAW) {
if (mesh.is_valid()) {
- draw_mesh(mesh, texture, normal_map);
+ draw_mesh(mesh, texture);
}
}
}