Game configuration object "renderer" property wrongly assigned to Game.renderer

This commit is contained in:
Federico Omoto 2014-08-21 17:57:07 -03:00
parent 118ea6f84a
commit 14028cafbc

View file

@ -287,7 +287,6 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
if (typeof renderer !== 'undefined') if (typeof renderer !== 'undefined')
{ {
this.renderer = renderer;
this.renderType = renderer; this.renderType = renderer;
} }
@ -359,7 +358,6 @@ Phaser.Game.prototype = {
if (config['renderer']) if (config['renderer'])
{ {
this.renderer = config['renderer'];
this.renderType = config['renderer']; this.renderType = config['renderer'];
} }