summaryrefslogtreecommitdiff
path: root/tests/test_shader_lang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_shader_lang.cpp')
-rw-r--r--tests/test_shader_lang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_shader_lang.cpp b/tests/test_shader_lang.cpp
index a023f35506..2169350c02 100644
--- a/tests/test_shader_lang.cpp
+++ b/tests/test_shader_lang.cpp
@@ -344,7 +344,7 @@ MainLoop *test() {
Set<String> types;
types.insert("spatial");
- Error err = sl.compile(code, dt, rm, types, nullptr);
+ Error err = sl.compile(code, dt, rm, ShaderLanguage::VaryingFunctionNames(), types, nullptr);
if (err) {
print_line("Error at line: " + rtos(sl.get_error_line()) + ": " + sl.get_error_text());