@@ -252,7 +252,7 @@ Phaser.Cache.prototype = {
252252 key : key ,
253253 url : url ,
254254 data : data ,
255- base : new PIXI . BaseTexture ( data ) ,
255+ base : new PIXI . BaseTexture ( data , null , this . game . resolution ) ,
256256 frame : new Phaser . Frame ( 0 , 0 , 0 , data . width , data . height , key ) ,
257257 frameData : new Phaser . FrameData ( ) ,
258258 fileFormat : extension
@@ -305,7 +305,7 @@ Phaser.Cache.prototype = {
305305 key : key ,
306306 url : url ,
307307 data : data ,
308- base : new PIXI . BaseTexture ( data ) ,
308+ base : new PIXI . BaseTexture ( data , null , this . game . resolution ) ,
309309 frame : new Phaser . Frame ( 0 , 0 , 0 , data . width , data . height , key ) ,
310310 frameData : new Phaser . FrameData ( )
311311 } ;
@@ -518,7 +518,7 @@ Phaser.Cache.prototype = {
518518 url : url ,
519519 data : data ,
520520 font : null ,
521- base : new PIXI . BaseTexture ( data )
521+ base : new PIXI . BaseTexture ( data , null , this . game . resolution )
522522 } ;
523523
524524 if ( xSpacing === undefined ) { xSpacing = 0 ; }
@@ -700,7 +700,7 @@ Phaser.Cache.prototype = {
700700 frameHeight : frameHeight ,
701701 margin : margin ,
702702 spacing : spacing ,
703- base : new PIXI . BaseTexture ( data ) ,
703+ base : new PIXI . BaseTexture ( data , null , this . game . resolution ) ,
704704 frameData : Phaser . AnimationParser . spriteSheet ( this . game , data , frameWidth , frameHeight , frameMax , margin , spacing , skipFrames )
705705 } ;
706706
@@ -726,7 +726,7 @@ Phaser.Cache.prototype = {
726726 key : key ,
727727 url : url ,
728728 data : data ,
729- base : new PIXI . BaseTexture ( data )
729+ base : new PIXI . BaseTexture ( data , null , this . game . resolution )
730730 } ;
731731
732732 if ( format === Phaser . Loader . TEXTURE_ATLAS_XML_STARLING )
0 commit comments