summaryrefslogtreecommitdiff
path: root/tests/servers/test_shader_lang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/servers/test_shader_lang.cpp')
-rw-r--r--tests/servers/test_shader_lang.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/servers/test_shader_lang.cpp b/tests/servers/test_shader_lang.cpp
index 1f8f395e64..acc7e32441 100644
--- a/tests/servers/test_shader_lang.cpp
+++ b/tests/servers/test_shader_lang.cpp
@@ -5,8 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */
-/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */
+/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -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");