Skip to content

Commit 1886e4b

Browse files
aardgooseaardgoose
and
aardgoose
authored
remove useless call (mrdoob#29631)
Co-authored-by: aardgoose <[email protected]>
1 parent 8e0ce15 commit 1886e4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/renderers/webgl-fallback/WebGLBackend.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,8 +1085,6 @@ class WebGLBackend extends Backend {
10851085

10861086
// Bindings
10871087

1088-
this.createBindings( null, bindings );
1089-
10901088
this._setupBindings( bindings, programGPU );
10911089

10921090
const attributeNodes = computeProgram.attributes;
@@ -1158,8 +1156,6 @@ class WebGLBackend extends Backend {
11581156

11591157
updateBindings( bindGroup /*, bindings*/ ) {
11601158

1161-
if ( bindGroup === null ) return;
1162-
11631159
const { gl } = this;
11641160

11651161
const bindGroupData = this.get( bindGroup );

0 commit comments

Comments
 (0)