提交 5c9d858d 编写于 作者: M Mr.doob

WebGLCapabilities: Use mediump by default

上级 77a7ffb8
......@@ -57,7 +57,7 @@ function WebGLCapabilities( gl, extensions, parameters ) {
( typeof WebGL2ComputeRenderingContext !== 'undefined' && gl instanceof WebGL2ComputeRenderingContext );
/* eslint-enable no-undef */
let precision = parameters.precision !== undefined ? parameters.precision : 'highp';
let precision = parameters.precision !== undefined ? parameters.precision : 'mediump';
const maxPrecision = getMaxPrecision( precision );
if ( maxPrecision !== precision ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册