Parcourir la source

remove useless call (#29631)

Co-authored-by: aardgoose <angus.sawyer@email.com>
aardgoose il y a 1 an
Parent
commit
1886e4b91c
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  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号