mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
Game configuration object "renderer" property wrongly assigned to Game.renderer
This commit is contained in:
parent
118ea6f84a
commit
14028cafbc
1 changed files with 0 additions and 2 deletions
|
@ -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'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue