Explorar el Código

also display the error on the console

Lucas Stadler %!s(int64=10) %!d(string=hace) años
padre
commit
f80f17179a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      glsl/raymarching.js

+ 1 - 0
glsl/raymarching.js

@ -22,6 +22,7 @@ try {
22 22
  function displayError(e) {
23 23
    window.error = e;
24 24
    errorEl.textContent = e;
25
    console.error(e);
25 26
  }
26 27
  
27 28
  function compileShader(gl, type, shaderSrc) {