diff --git a/examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js b/examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js index ee8d7d2f298fd2..55a970df2e8d29 100644 --- a/examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js +++ b/examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js @@ -398,7 +398,7 @@ class WebGLTextureUtils { const { gl, backend } = this; const { textureGPU, glTextureType } = backend.get( texture ); - gl.bindTexture( glTextureType, textureGPU ); + backend.state.bindTexture( glTextureType, textureGPU ); gl.generateMipmap( glTextureType ); }