Skip to content

Commit

Permalink
WebGPURenderer: Fix antialias code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 8, 2020
1 parent 00cabc4 commit 8e70942
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/jsm/renderers/webgpu/WebGPURenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,11 @@ class WebGPURenderer {

colorAttachment.attachment = this._colorBuffer.createView();
colorAttachment.resolveTarget = this._swapChain.getCurrentTexture().createView();
colorAttachment.storeOp = GPUStoreOp.Clear;

} else {

colorAttachment.attachment = this._swapChain.getCurrentTexture().createView();
colorAttachment.resolveTarget = undefined;
colorAttachment.storeOp = undefined;

}

Expand Down

0 comments on commit 8e70942

Please sign in to comment.