File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ function TilingSprite() {
1010 this . initialize . apply ( this , arguments ) ;
1111}
1212
13- TilingSprite . prototype = Object . create ( PIXI . extras . PictureTilingSprite . prototype ) ;
13+ TilingSprite . prototype = Object . create ( PIXI . TilingSprite . prototype ) ;
1414TilingSprite . prototype . constructor = TilingSprite ;
1515
1616TilingSprite . prototype . initialize = function ( bitmap ) {
1717 var texture = new PIXI . Texture ( new PIXI . BaseTexture ( ) ) ;
1818
19- PIXI . extras . PictureTilingSprite . call ( this , texture ) ;
19+ PIXI . TilingSprite . call ( this , texture ) ;
2020
2121 this . _bitmap = null ;
2222 this . _width = 0 ;
@@ -34,8 +34,8 @@ TilingSprite.prototype.initialize = function(bitmap) {
3434 this . bitmap = bitmap ;
3535} ;
3636
37- TilingSprite . prototype . _renderCanvas_PIXI = PIXI . extras . PictureTilingSprite . prototype . _renderCanvas ;
38- TilingSprite . prototype . _renderWebGL_PIXI = PIXI . extras . PictureTilingSprite . prototype . _renderWebGL ;
37+ TilingSprite . prototype . _renderCanvas_PIXI = PIXI . TilingSprite . prototype . _renderCanvas ;
38+ TilingSprite . prototype . _renderWebGL_PIXI = PIXI . TilingSprite . prototype . _renderWebGL ;
3939
4040/**
4141 * @method _renderCanvas
You can’t perform that action at this time.
0 commit comments