Skip to content

Commit

Permalink
[orx-shader-phrases] Fix default argument value for preprocessShaderF…
Browse files Browse the repository at this point in the history
…romUrl
  • Loading branch information
edwinRNDR committed Jul 6, 2020
1 parent 3528d35 commit a0287f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orx-shader-phrases/src/main/kotlin/ShaderPreprocessor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ fun preprocessShader(source: String, symbols: Set<String> = 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>): String {
fun preprocessShaderFromUrl(url: String, symbols: Set<String> = emptySet()): String {
return preprocessShader(codeFromURL(url), symbols)
}

0 comments on commit a0287f4

Please sign in to comment.