Tidying up the wip folder and updating pixi.

This commit is contained in:
photonstorm
2013-12-03 20:50:34 +00:00
parent 42c0bed502
commit 666df67453
94 changed files with 374 additions and 146 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ PIXI._batchs = [];
*/
PIXI._getBatch = function(gl)
{
if(PIXI._batchs.length === 0)
if(PIXI._batchs.length == 0)
{
return new PIXI.WebGLBatch(gl);
}
@@ -189,7 +189,7 @@ PIXI.WebGLBatch.prototype.remove = function(sprite)
{
this.size--;
if(this.size === 0)
if(this.size == 0)
{
sprite.batch = null;
sprite.__prev = null;
@@ -522,7 +522,7 @@ PIXI.WebGLBatch.prototype.render = function(start, end)
this.dirty = false;
}
if (this.size === 0)return;
if (this.size == 0)return;
this.update();
var gl = this.gl;