Skip to content

Commit

Permalink
fix(webgl): fix #217, use logger for shader src
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 7, 2020
1 parent 9ed6564 commit 501c82d
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 @@ -193,8 +193,8 @@ export const defShader = (gl: WebGLRenderingContext, spec: ShaderSpec) => {
const srcFS = isFunction(spec.fs)
? shaderSourceFromAST(spec, "fs", version)
: prepareShaderSource(spec, "fs", version);
console.log(srcVS);
console.log(srcFS);
LOGGER.debug(srcVS);
LOGGER.debug(srcFS);
initShaderExtensions(gl, spec.ext);
const vs = compileShader(gl, gl.VERTEX_SHADER, srcVS);
const fs = compileShader(gl, gl.FRAGMENT_SHADER, srcFS);
Expand Down

0 comments on commit 501c82d

Please sign in to comment.