@@ -324,24 +324,30 @@ var Config = new Class({
324324 var renderConfig = GetValue ( config , 'render' , config ) ;
325325
326326 /**
327- * @const {boolean} Phaser.Boot.Config#antialias - [description]
327+ * @const {boolean} Phaser.Boot.Config#autoResize - [description]
328328 */
329- this . antialias = GetValue ( renderConfig , 'antialias ' , true ) ;
329+ this . autoResize = GetValue ( renderConfig , 'autoResize ' , false ) ;
330330
331331 /**
332- * @const {boolean} Phaser.Boot.Config#pixelArt - [description]
332+ * @const {boolean} Phaser.Boot.Config#antialias - [description]
333333 */
334- this . pixelArt = GetValue ( renderConfig , 'pixelArt ' , false ) ;
334+ this . antialias = GetValue ( renderConfig , 'antialias ' , true ) ;
335335
336336 /**
337- * @const {boolean} Phaser.Boot.Config#autoResize - [description]
337+ * @const {boolean} Phaser.Boot.Config#roundPixels - [description]
338338 */
339- this . autoResize = GetValue ( renderConfig , 'autoResize ' , false ) ;
339+ this . roundPixels = GetValue ( renderConfig , 'roundPixels ' , false ) ;
340340
341341 /**
342- * @const {boolean} Phaser.Boot.Config#roundPixels - [description]
342+ * @const {boolean} Phaser.Boot.Config#pixelArt - [description]
343343 */
344- this . roundPixels = GetValue ( renderConfig , 'roundPixels' , this . pixelArt ) ;
344+ this . pixelArt = GetValue ( renderConfig , 'pixelArt' , false ) ;
345+
346+ if ( this . pixelArt )
347+ {
348+ this . antialias = false ;
349+ this . roundPixels = true ;
350+ }
345351
346352 /**
347353 * @const {boolean} Phaser.Boot.Config#transparent - [description]
0 commit comments