Fix thinWall and passes

This commit is contained in:
Moisés Peláez
2026-09-17 15:59:45 -04:00
parent 7d00036973
commit d0337f5dae
7 changed files with 60 additions and 33 deletions

View File

@ -908,7 +908,9 @@ class RenderPath {
#end
Data.getShader(shaderPath[0], shaderPath[1], function(res: ShaderData) {
cc.context = res.getContext(shaderPath[2]);
if (res != null) {
cc.context = res.getContext(shaderPath[2]);
}
loading--;
});
}

View File

@ -55,6 +55,7 @@ class ShaderData {
if (raw == null) {
trace('Shader data "$name" not found!');
done(null);
return;
}
new ShaderData(raw, done, overrideContext);
});