We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04defc commit e17a838Copy full SHA for e17a838
examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js
@@ -398,7 +398,7 @@ class WebGLTextureUtils {
398
const { gl, backend } = this;
399
const { textureGPU, glTextureType } = backend.get( texture );
400
401
- gl.bindTexture( glTextureType, textureGPU );
+ backend.state.bindTexture( glTextureType, textureGPU );
402
gl.generateMipmap( glTextureType );
403
404
}
0 commit comments