mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 00:53:42 +00:00
Added dummy render function.
This commit is contained in:
parent
c28cfc4548
commit
9b18a8121a
2 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
var CHECKSUM = {
|
||||
build: '0981f120-dc3f-11e6-8f23-cff36a839e90'
|
||||
build: 'bb3f6b90-dd1b-11e6-9f7f-6937ccaffca9'
|
||||
};
|
||||
module.exports = CHECKSUM;
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue