|
@@ -52,8 +52,7 @@ function WebGLCapabilities( gl, extensions, parameters ) {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- const isWebGL2 = ( typeof WebGL2RenderingContext !== 'undefined' && gl instanceof WebGL2RenderingContext ) ||
|
|
|
|
- ( typeof WebGL2ComputeRenderingContext !== 'undefined' && gl instanceof WebGL2ComputeRenderingContext );
|
|
|
|
|
|
+ const isWebGL2 = typeof WebGL2RenderingContext !== 'undefined' && gl instanceof WebGL2RenderingContext;
|
|
|
|
|
|
let precision = parameters.precision !== undefined ? parameters.precision : 'highp';
|
|
let precision = parameters.precision !== undefined ? parameters.precision : 'highp';
|
|
const maxPrecision = getMaxPrecision( precision );
|
|
const maxPrecision = getMaxPrecision( precision );
|