Skip to content

Commit

Permalink
fix(webgl): use LOGGER for warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Nov 20, 2019
1 parent 65c5ec3 commit 14d5025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/webgl/src/shader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class Shader implements IShader {
attr.offset || 0
);
} else {
console.warn(`unknown attrib: ${id}`);
LOGGER.warn(`unknown attrib: ${id}`);
}
}
}
Expand All @@ -131,7 +131,7 @@ export class Shader implements IShader {
// console.log(id, val);
u.setter(<UniformValue>val);
} else {
console.warn(`unknown uniform: ${id}`);
LOGGER.warn(`unknown uniform: ${id}`);
}
}
// apply defaults for non-specified uniforms in user spec
Expand Down

0 comments on commit 14d5025

Please sign in to comment.