Skip to content

Commit

Permalink
fix firefox bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jfo committed Mar 6, 2017
1 parent 265acac commit 3e944a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mandelgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 3e944a6

Please sign in to comment.