[orx-shader-phrases] Fix default argument value for preprocessShaderFromUrl

This commit is contained in:
Edwin Jakobs
2020-07-06 14:39:05 +02:00
parent 3528d35cbf
commit a0287f4977

View File

@@ -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)
}