Skip to content

Commit 84a8d41

Browse files
committed
Fix stack overflow crash in FunkinShader.__getIncludeSource
1 parent 40e6a65 commit 84a8d41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎source/funkin/backend/shaders/FunkinShader.hx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class FunkinShaderSourceAssembler extends FlxRuntimeShader.FlxShaderSourceAssemb
252252
final path = Paths.getPath('shaders/' + include);
253253
if (Assets.exists(path)) return Assets.getText(path);
254254

255-
final fallback = __getIncludeSource(include, fromVertex);
255+
final fallback = super.__getIncludeSource(include, fromVertex);
256256
if (fallback != null) return fallback;
257257

258258
Logs.traceColored([

0 commit comments

Comments
 (0)