|
@@ -32,7 +32,7 @@ THREE.WebGLCapabilities = function ( gl, extensions, parameters ) {
|
|
|
|
|
|
this.getMaxPrecision = getMaxPrecision;
|
|
this.getMaxPrecision = getMaxPrecision;
|
|
|
|
|
|
- this.precision = parameters.precision !== undefined ? parameters.precision : 'highp',
|
|
|
|
|
|
+ this.precision = parameters.precision !== undefined ? parameters.precision : 'highp';
|
|
this.logarithmicDepthBuffer = parameters.logarithmicDepthBuffer !== undefined ? parameters.logarithmicDepthBuffer : false;
|
|
this.logarithmicDepthBuffer = parameters.logarithmicDepthBuffer !== undefined ? parameters.logarithmicDepthBuffer : false;
|
|
|
|
|
|
this.maxTextures = gl.getParameter( gl.MAX_TEXTURE_IMAGE_UNITS );
|
|
this.maxTextures = gl.getParameter( gl.MAX_TEXTURE_IMAGE_UNITS );
|