RenderTexture update
RenderTexture added (webGL and Canvas) WebGL Render rearchitected - a little faster :) Pivot added to DisplayObject docs updated grunt file updated
This commit is contained in:
parent
ba5a79c606
commit
88b863155a
82 changed files with 14133 additions and 6332 deletions
|
@ -67,6 +67,8 @@
|
|||
|
||||
<li><a href="../classes/Rectangle.html">Rectangle</a></li>
|
||||
|
||||
<li><a href="../classes/RenderTexture.html">RenderTexture</a></li>
|
||||
|
||||
<li><a href="../classes/Sprite.html">Sprite</a></li>
|
||||
|
||||
<li><a href="../classes/SpriteSheetLoader.html">SpriteSheetLoader</a></li>
|
||||
|
@ -174,6 +176,8 @@ PIXI.BaseTexture = function(source)
|
|||
*/
|
||||
this.source = source//new Image();
|
||||
|
||||
if(!source)return;
|
||||
|
||||
if(this.source instanceof Image)
|
||||
{
|
||||
if(this.source.complete)
|
||||
|
@ -207,7 +211,6 @@ PIXI.BaseTexture = function(source)
|
|||
this.width = this.source.width;
|
||||
this.height = this.source.height;
|
||||
|
||||
//console.log(">!!",this.width)
|
||||
PIXI.texturesToUpdate.push(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue