Skip to content

Commit 7012bb5

Browse files
fix dst texture not update on the gpu
1 parent 5c5140f commit 7012bb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/jsm/renderers/common/Renderer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,7 @@ class Renderer {
982982
copyTextureToTexture( position, srcTexture, dstTexture, level = 0 ) {
983983

984984
this._textures.updateTexture( srcTexture );
985+
this._textures.updateTexture( dstTexture );
985986

986987
this.backend.copyTextureToTexture( position, srcTexture, dstTexture, level );
987988

0 commit comments

Comments
 (0)