From a0287f497789192a9d3258d302c3ebc8d2bb2013 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Mon, 6 Jul 2020 14:39:05 +0200 Subject: [PATCH] [orx-shader-phrases] Fix default argument value for preprocessShaderFromUrl --- orx-shader-phrases/src/main/kotlin/ShaderPreprocessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orx-shader-phrases/src/main/kotlin/ShaderPreprocessor.kt b/orx-shader-phrases/src/main/kotlin/ShaderPreprocessor.kt index 26e547f11..d282ae6c5 100644 --- a/orx-shader-phrases/src/main/kotlin/ShaderPreprocessor.kt +++ b/orx-shader-phrases/src/main/kotlin/ShaderPreprocessor.kt @@ -73,6 +73,6 @@ fun preprocessShader(source: String, symbols: Set = emptySet()): String * @param url url pointing to GLSL shader source * @return GLSL source code with injected shader phrases */ -fun preprocessShaderFromUrl(url: String, symbols: Set): String { +fun preprocessShaderFromUrl(url: String, symbols: Set = emptySet()): String { return preprocessShader(codeFromURL(url), symbols) } \ No newline at end of file