Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
micahjon committed Jun 16, 2021
1 parent 0f777f4 commit b3c44d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ class GlslMinify {
const pass1 = yield this.preprocessPass1(input);
const pass2 = this.preprocessPass2(pass1);
const pass3 = this.minifier(pass2);
const uniforms = this.tokens.getUniforms();

// Flag any uniforms that may have been unintentionally minified b/c they had a name collision
// with a function parameter
Expand All @@ -272,7 +273,7 @@ class GlslMinify {

return {
sourceCode: pass3,
uniforms: this.tokens.getUniforms(),
uniforms,
consts: this.constValues
};
});
Expand Down

0 comments on commit b3c44d8

Please sign in to comment.