|
@@ -36,7 +36,6 @@ import { WebGLPrograms } from './webgl/WebGLPrograms.js';
|
|
|
import { WebGLProperties } from './webgl/WebGLProperties.js';
|
|
|
import { WebGLRenderLists } from './webgl/WebGLRenderLists.js';
|
|
|
import { WebGLRenderStates } from './webgl/WebGLRenderStates.js';
|
|
|
-import { WebGLRendererDebug } from "./WebGLRendererDebug.js";
|
|
|
import { WebGLShadowMap } from './webgl/WebGLShadowMap.js';
|
|
|
import { WebGLState } from './webgl/WebGLState.js';
|
|
|
import { WebGLTextures } from './webgl/WebGLTextures.js';
|
|
@@ -78,7 +77,15 @@ function WebGLRenderer( parameters ) {
|
|
|
this.domElement = _canvas;
|
|
|
this.context = null;
|
|
|
|
|
|
- this.debug = new WebGLRendererDebug();
|
|
|
+ // Debug configuration container
|
|
|
+ this.debug = {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Enables error checking and reporting when shader programs are being compiled
|
|
|
+ * @type {boolean}
|
|
|
+ */
|
|
|
+ checkShaderErrors: false
|
|
|
+ };
|
|
|
|
|
|
// clearing
|
|
|
|