Browse Source

remove supports in WebGLCapabilities

gero3 10 years ago
parent
commit
d4f5a1f445
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/webgl/WebGLCapabilities.js

+ 1 - 1
src/renderers/webgl/WebGLCapabilities.js

@@ -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 );