diff options
| author | Juan Linietsky | 2017-11-09 23:34:01 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-11-09 23:35:34 -0300 |
| commit | 192a4d7de5c557bdfe83bd180cd603d7e280ebd4 (patch) | |
| tree | 94ce9779b3f84fbc320ba83624e326d487ca1c04 /main/tests/test_physics.cpp | |
| parent | 0de6cba7e7e114f71fabb3dbe02cf260f7d3e2c6 (diff) | |
| download | godot-192a4d7de5c557bdfe83bd180cd603d7e280ebd4.tar.gz godot-192a4d7de5c557bdfe83bd180cd603d7e280ebd4.tar.zst godot-192a4d7de5c557bdfe83bd180cd603d7e280ebd4.zip | |
Diffstat (limited to 'main/tests/test_physics.cpp')
| -rw-r--r-- | main/tests/test_physics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_physics.cpp b/main/tests/test_physics.cpp index f14982192..1c5047054 100644 --- a/main/tests/test_physics.cpp +++ b/main/tests/test_physics.cpp @@ -299,7 +299,7 @@ public: VisualServer *vs = VisualServer::get_singleton(); /* LIGHT */ - RID lightaux = vs->light_create(VisualServer::LIGHT_DIRECTIONAL); + RID lightaux = vs->directional_light_create(); scenario = vs->scenario_create(); vs->light_set_shadow(lightaux, true); light = vs->instance_create2(lightaux, scenario); |
