diff --git a/v3/src/checksum.js b/v3/src/checksum.js index 336294b28..908506c8a 100644 --- a/v3/src/checksum.js +++ b/v3/src/checksum.js @@ -1,4 +1,4 @@ var CHECKSUM = { -build: '0981f120-dc3f-11e6-8f23-cff36a839e90' +build: 'bb3f6b90-dd1b-11e6-9f7f-6937ccaffca9' }; module.exports = CHECKSUM; \ No newline at end of file diff --git a/v3/src/renderer/webgl/renderers/ParticleRenderer.js b/v3/src/renderer/webgl/renderers/ParticleRenderer.js index 64c41a9e0..3b8b1bf1c 100644 --- a/v3/src/renderer/webgl/renderers/ParticleRenderer.js +++ b/v3/src/renderer/webgl/renderers/ParticleRenderer.js @@ -6,7 +6,7 @@ var CreateAttribDesc = require('../utils/CreateAttribDesc'); var VertexBuffer = require('../utils/VertexBuffer'); var IndexBuffer = require('../utils/IndexBuffer'); var VertexArray = require('../utils/VertexArray'); -var CONST = require('../../const'); +var CONST = require('../../../const'); var ParticleRenderer = function (game) { @@ -186,7 +186,7 @@ ParticleRenderer.prototype.add = function (x, y, width, height, umin, vmin, umax ParticleRenderer.prototype.setTexture2D = function (texture2D) { var gl = this.glContext; - if (this.currentTexture2D != texture2D) + if (this.currentTexture2D !== texture2D) { this.flush(); gl.activeTexture(gl.TEXTURE0); @@ -195,6 +195,11 @@ ParticleRenderer.prototype.setTexture2D = function (texture2D) } }; +ParticleRenderer.prototype.render = function () +{ + // Stops it breaking +}; + ParticleRenderer.prototype.bind = function () { var gl = this.glContext;