Skip to content

Commit

Permalink
missing call to state helper (mrdoob#27503)
Browse files Browse the repository at this point in the history
Co-authored-by: aardgoose <angus.sawyer@email.com>
  • Loading branch information
2 people authored and AdaRoseCannon committed Jan 15, 2024
1 parent d04defc commit e17a838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/renderers/webgl/utils/WebGLTextureUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

}
Expand Down

0 comments on commit e17a838

Please sign in to comment.