From 9ab82970c79bd02440623b69620275fa37fc1c36 Mon Sep 17 00:00:00 2001 From: Ben Richards Date: Fri, 9 Feb 2024 18:40:37 +1300 Subject: [PATCH] Fix inappropriate default type of `Shader._deferSetShader`. --- src/gameobjects/shader/Shader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/shader/Shader.js b/src/gameobjects/shader/Shader.js index 8fbfa77ea0..14a0d89e33 100644 --- a/src/gameobjects/shader/Shader.js +++ b/src/gameobjects/shader/Shader.js @@ -176,7 +176,7 @@ var Shader = new Class({ * @private * @since 3.80.0 */ - this._deferSetShader = false; + this._deferSetShader = null; /** * Internal property: whether the projection matrix needs to be set,