|
@@ -89,6 +89,7 @@ class WebGLRenderTarget extends EventDispatcher {
|
|
this.viewport.copy( source.viewport );
|
|
this.viewport.copy( source.viewport );
|
|
|
|
|
|
this.texture = source.texture.clone();
|
|
this.texture = source.texture.clone();
|
|
|
|
+ this.texture.image = { ...this.texture.image }; // See #20328.
|
|
|
|
|
|
this.depthBuffer = source.depthBuffer;
|
|
this.depthBuffer = source.depthBuffer;
|
|
this.stencilBuffer = source.stencilBuffer;
|
|
this.stencilBuffer = source.stencilBuffer;
|