提交 d4f5a1f4 编写于 作者: G gero3

remove supports in WebGLCapabilities

上级 79e283a5
......@@ -47,7 +47,7 @@ THREE.WebGLCapabilities = function( gl, extensions, parameters ) {
this.vertexTextures = this.maxVertexTextures > 0;
this.floatFragmentTextures = !! extensions.get( 'OES_texture_float' );
this.floatVertexTextures = this.supportsVertexTextures && this.supportsFloatFragmentTextures;
this.floatVertexTextures = this.vertexTextures && this.floatFragmentTextures;
var _maxPrecision = this.getMaxPrecision( this.precision );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册