Skip to content

Commit

Permalink
WebGPURenderer: Add missing parameters to copyTextureToTexture
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Jun 17, 2024
1 parent 2c9afdf commit ac18021
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 @@ -666,7 +666,7 @@ class WebGLTextureUtils {

} else {

gl.texSubImage2D( gl.TEXTURE_2D, level, dstX, dstY, glFormat, glType, image );
gl.texSubImage2D( gl.TEXTURE_2D, level, dstX, dstY, width, height, glFormat, glType, image );

}

Expand Down

0 comments on commit ac18021

Please sign in to comment.