Skip to content

Commit a9f674b

Browse files
committed
Added preserveDrawingBuffer config
1 parent 2a320e1 commit a9f674b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/boot/Config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ var Config = function (config)
6060
this.transparent = GetObjectValue(config, 'transparent', false);
6161
this.clearBeforeRender = GetObjectValue(config, 'clearBeforeRender', true);
6262
this.backgroundColor = ValueToColor(GetObjectValue(config, 'backgroundColor', 0));
63+
this.preserveDrawingBuffer = ValueToColor(GetObjectValue(config, 'preserveDrawingBuffer', false));
6364

6465
// Callbacks
6566
this.preBoot = GetObjectValue(config, 'callbacks.preBoot', NOOP);

0 commit comments

Comments
 (0)