From f2290abf9bde19ec05a6e136fe7af5576c51f108 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 26 Jul 2018 23:05:08 +0100 Subject: [PATCH] Added new customViewports counter --- src/scene/SceneManager.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/scene/SceneManager.js b/src/scene/SceneManager.js index 15afce399..ec6394942 100644 --- a/src/scene/SceneManager.js +++ b/src/scene/SceneManager.js @@ -122,6 +122,17 @@ var SceneManager = new Class({ */ this.isBooted = false; + /** + * Do any of the Cameras in any of the Scenes require a custom viewport? + * If not we can skip scissor tests. + * + * @name Phaser.Scenes.SceneManager#customViewports + * @type {number} + * @default 0 + * @since 3.12.0 + */ + this.customViewports = 0; + if (sceneConfig) { if (!Array.isArray(sceneConfig))