Skip to content

Commit

Permalink
fix: use original RT's format when use copy plan
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxudong committed Dec 2, 2024
1 parent 0968bca commit 1aba368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/RenderPipeline/BasicRenderPipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class BasicRenderPipeline {
this._grabTexture,
viewport.width,
viewport.height,
TextureFormat.R8G8B8A8,
camera.renderTarget?.getColorTexture(0).format ?? TextureFormat.R8G8B8A8,
false,
TextureWrapMode.Clamp,
TextureFilterMode.Bilinear
Expand Down

0 comments on commit 1aba368

Please sign in to comment.