Documentation updated
pixi build republished
This commit is contained in:
parent
11e047fe7b
commit
a1faefe5c7
28 changed files with 7889 additions and 2608 deletions
|
@ -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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue