Skip to content

Commit

Permalink
fix dst texture not update on the gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudRohlinger committed Mar 9, 2024
1 parent 5c5140f commit 7012bb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/jsm/renderers/common/Renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ class Renderer {
copyTextureToTexture( position, srcTexture, dstTexture, level = 0 ) {

this._textures.updateTexture( srcTexture );
this._textures.updateTexture( dstTexture );

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

Expand Down

0 comments on commit 7012bb5

Please sign in to comment.