Skip to content

Commit

Permalink
Fix CI (regl-project#514)
Browse files Browse the repository at this point in the history
* Add dep

* Add dep

* Add deps

* Lint

* Remove deps

* Remove dep
  • Loading branch information
dy authored Oct 29, 2018
1 parent cadcf2e commit 8c4b9c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dist: trusty
addons:
apt:
packages:
- libxi-dev
- mesa-utils
- xvfb
- libgl1-mesa-dri
Expand Down
4 changes: 2 additions & 2 deletions lib/framebuffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ module.exports = function wrapFBOState (
} else if (attachment.renderbuffer) {
attachment.renderbuffer.resize(w, h)
}
attachment.width = w;
attachment.height = h;
attachment.width = w
attachment.height = h
}
}

Expand Down
8 changes: 4 additions & 4 deletions lib/texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -1615,12 +1615,12 @@ module.exports = function createTextureSet (
for (var i = 0; i < numTexUnits; ++i) {
var tex = textureUnits[i]
if (tex) {
tex.bindCount = 0;
tex.unit = -1;
textureUnits[i] = null;
tex.bindCount = 0
tex.unit = -1
textureUnits[i] = null
}
}

values(textureSet).forEach(function (texture) {
texture.texture = gl.createTexture()
gl.bindTexture(texture.target, texture.texture)
Expand Down

0 comments on commit 8c4b9c1

Please sign in to comment.