mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Added preserveDrawingBuffer config
This commit is contained in:
parent
2a320e171c
commit
a9f674bc92
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ var Config = function (config)
|
|||
this.transparent = GetObjectValue(config, 'transparent', false);
|
||||
this.clearBeforeRender = GetObjectValue(config, 'clearBeforeRender', true);
|
||||
this.backgroundColor = ValueToColor(GetObjectValue(config, 'backgroundColor', 0));
|
||||
this.preserveDrawingBuffer = ValueToColor(GetObjectValue(config, 'preserveDrawingBuffer', false));
|
||||
|
||||
// Callbacks
|
||||
this.preBoot = GetObjectValue(config, 'callbacks.preBoot', NOOP);
|
||||
|
|
Loading…
Reference in a new issue