Răsfoiți Sursa

remove useless call (#29631)

Co-authored-by: aardgoose <angus.sawyer@email.com>
aardgoose 1 an în urmă
părinte
comite
1886e4b91c
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 4
      src/renderers/webgl-fallback/WebGLBackend.js

+ 0 - 4
src/renderers/webgl-fallback/WebGLBackend.js

@@ -1085,8 +1085,6 @@ class WebGLBackend extends Backend {
 
 		// Bindings
 
-		this.createBindings( null, bindings );
-
 		this._setupBindings( bindings, programGPU );
 
 		const attributeNodes = computeProgram.attributes;
@@ -1158,8 +1156,6 @@ class WebGLBackend extends Backend {
 
 	updateBindings( bindGroup /*, bindings*/ ) {
 
-		if ( bindGroup === null ) return;
-
 		const { gl } = this;
 
 		const bindGroupData = this.get( bindGroup );

粤ICP备19079148号