diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-12-21 17:21:55 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-12-21 22:20:09 +0300 |
commit | e8a457ba898ffde5dbc02d573103f00d626f3a5b (patch) | |
tree | be17a45bf01aa3118c9c35729bcd28aa0dd106f0 /tests/servers | |
parent | d3d6208ec8ef3007400384c96d31f6e308c71827 (diff) |
Refactor render_mode in shaders, forbid declaring duplicates
Diffstat (limited to 'tests/servers')
-rw-r--r-- | tests/servers/test_shader_lang.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/servers/test_shader_lang.cpp b/tests/servers/test_shader_lang.cpp index 1f8f395e64..e4310b1393 100644 --- a/tests/servers/test_shader_lang.cpp +++ b/tests/servers/test_shader_lang.cpp @@ -341,8 +341,8 @@ MainLoop *test() { dt["fragment"].built_ins["ALBEDO"] = SL::TYPE_VEC3; dt["fragment"].can_discard = true; - Vector<StringName> rm; - rm.push_back("popo"); + Vector<SL::ModeInfo> rm; + rm.push_back({ "popo" }); Set<String> types; types.insert("spatial"); |