Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lchzh3473 committed Aug 17, 2024
1 parent 3f29bfe commit 6bcceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Filter.prototype.getImage = function(time, now, obj = {}) {
const { type, name } = gl.getActiveUniform(this.program, i);
const location = gl.getUniformLocation(this.program, name);
switch (name) {
case 'u_name':
case 'u_time':
gl.uniform1f(location, time);
break;
case 'u_now':
Expand Down

0 comments on commit 6bcceeb

Please sign in to comment.