Browse Source

Removed deprecated PureArrayUniform.updateCache method (#23911)

Renaud Rohlinger 3 năm trước cách đây
mục cha
commit
8e1d51b936
1 tập tin đã thay đổi với 0 bổ sung14 xóa
  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;