Documentation updated

pixi build republished
This commit is contained in:
Mat Groves 2013-04-15 22:12:35 +01:00
parent 11e047fe7b
commit a1faefe5c7
28 changed files with 7889 additions and 2608 deletions

View file

@ -162,7 +162,7 @@ PIXI.WebGLRenderer = function(width, height, view, transparent)
this.gl = this.view.getContext("experimental-webgl", {
alpha: this.transparent,
antialias:false, // SPEED UP??
premultipliedAlpha:false
premultipliedAlpha:true
});
}
catch (e)
@ -286,6 +286,15 @@ PIXI.WebGLRenderer.prototype.render = function(stage)
{
if(this.contextLost)return;
// if rendering a new stage clear the batchs..
if(this.__stage !== stage)
{
if(this.__stage)this.checkVisibility(this.__stage, false)
this.__stage = stage;
}
// update children if need be
// best to remove first!
for (var i=0; i < stage.__childrenRemoved.length; i++)