Permalink
Browse files

fix firefox bug

  • Loading branch information...
jfo committed Mar 6, 2017
1 parent 265acac commit 3e944a6a1db86c7f2d04a368c8336d74c63e2a63
Showing with 1 addition and 1 deletion.
  1. +1 −1 mandelgl.js
View
@@ -140,7 +140,7 @@
bailoutslide.value = initBailoutState;
gl.uniform1f(bailout, initBailoutState);
bailoutslide.addEventListener('input', function(e) {
bailext = e.target.value ** 2;
bailext = Math.pow(e.target.value, 2);
gl.uniform1f(bailout, bailext);
gl.drawArrays(primitiveType, offset, count);
});

0 comments on commit 3e944a6

Please sign in to comment.