resurrectionPass wasn't waiting for its shader to load.

This commit is contained in:
Rezmason
2021-10-20 14:00:55 -07:00
parent b2f81cdb37
commit b4bece1264

View File

@@ -21,6 +21,8 @@ export default (regl, config, inputs) => {
{
primary: output,
},
() => render({ frag: resurrectionPassFrag.text() })
() => render({ frag: resurrectionPassFrag.text() }),
null,
resurrectionPassFrag.loaded
);
};