Skip to content

Commit

Permalink
Fixed bench-browser. So the benchmarks run in the browser again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erkaman committed Jul 17, 2016
1 parent 4fcd013 commit 599e46a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bench/cube.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = function (regl) {
]

return regl({
profile: false,
frag: `
precision mediump float;
varying vec2 vUv;
Expand Down
1 change: 1 addition & 0 deletions bench/draw-batch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = function (regl) {
var draw = regl({
profile: false,
frag: [
'precision mediump float;',
'uniform vec4 color;',
Expand Down
1 change: 1 addition & 0 deletions bench/draw-dynamic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = function (regl) {
var draw = regl({
profile: false,
frag: [
'precision mediump float;',
'uniform vec4 color;',
Expand Down
1 change: 1 addition & 0 deletions bench/draw-static.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = function (regl) {
return regl({
profile: false,
// In a draw call, we can pass the shader source code to regl
frag: [
'precision mediump float;',
Expand Down

0 comments on commit 599e46a

Please sign in to comment.