瀏覽代碼

Removed deprecated PureArrayUniform.updateCache method (#23911)

Renaud Rohlinger 3 年之前
父節點
當前提交
8e1d51b936
共有 1 個文件被更改,包括 0 次插入14 次删除
  1. 0 14
      src/renderers/webgl/WebGLUniforms.js

+ 0 - 14
src/renderers/webgl/WebGLUniforms.js

@@ -835,20 +835,6 @@ function PureArrayUniform( id, activeInfo, addr ) {
 
 }
 
-PureArrayUniform.prototype.updateCache = function ( data ) {
-
-	const cache = this.cache;
-
-	if ( data instanceof Float32Array && cache.length !== data.length ) {
-
-		this.cache = new Float32Array( data.length );
-
-	}
-
-	copyArray( cache, data );
-
-};
-
 function StructuredUniform( id ) {
 
 	this.id = id;