diff --git a/config/webpack.config.js b/config/webpack.config.js index efd4f170c..825c1a02d 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -32,6 +32,7 @@ module.exports = { new webpack.DefinePlugin({ "typeof CANVAS_RENDERER": JSON.stringify(true), "typeof WEBGL_RENDERER": JSON.stringify(true), + "typeof WEBGL_DEBUG": JSON.stringify(true), "typeof EXPERIMENTAL": JSON.stringify(true), "typeof PLUGIN_3D": JSON.stringify(false), "typeof PLUGIN_CAMERA3D": JSON.stringify(false), diff --git a/config/webpack.dist.config.js b/config/webpack.dist.config.js index db8d0dea2..41c031ff4 100644 --- a/config/webpack.dist.config.js +++ b/config/webpack.dist.config.js @@ -52,6 +52,7 @@ module.exports = { new webpack.DefinePlugin({ "typeof CANVAS_RENDERER": JSON.stringify(true), "typeof WEBGL_RENDERER": JSON.stringify(true), + "typeof WEBGL_DEBUG": JSON.stringify(false), "typeof EXPERIMENTAL": JSON.stringify(false), "typeof PLUGIN_3D": JSON.stringify(false), "typeof PLUGIN_CAMERA3D": JSON.stringify(false),