Skip to content

Commit e17a838

Browse files
aardgooseaardgoose
authored andcommitted
missing call to state helper (mrdoob#27503)
Co-authored-by: aardgoose <[email protected]>
1 parent d04defc commit e17a838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ class WebGLTextureUtils {
398398
const { gl, backend } = this;
399399
const { textureGPU, glTextureType } = backend.get( texture );
400400

401-
gl.bindTexture( glTextureType, textureGPU );
401+
backend.state.bindTexture( glTextureType, textureGPU );
402402
gl.generateMipmap( glTextureType );
403403

404404
}

0 commit comments

Comments
 (0)