Browse Source

WebGPURenderer: Fix antialias code.

Mugen87 4 years ago
parent
commit
8e70942d18
1 changed files with 0 additions and 2 deletions
  1. 0 2
      examples/jsm/renderers/webgpu/WebGPURenderer.js

+ 0 - 2
examples/jsm/renderers/webgpu/WebGPURenderer.js

@@ -140,13 +140,11 @@ class WebGPURenderer {
 
 
 				colorAttachment.attachment = this._colorBuffer.createView();
 				colorAttachment.attachment = this._colorBuffer.createView();
 				colorAttachment.resolveTarget = this._swapChain.getCurrentTexture().createView();
 				colorAttachment.resolveTarget = this._swapChain.getCurrentTexture().createView();
-				colorAttachment.storeOp = GPUStoreOp.Clear;
 
 
 			} else {
 			} else {
 
 
 				colorAttachment.attachment = this._swapChain.getCurrentTexture().createView();
 				colorAttachment.attachment = this._swapChain.getCurrentTexture().createView();
 				colorAttachment.resolveTarget = undefined;
 				colorAttachment.resolveTarget = undefined;
-				colorAttachment.storeOp = undefined;
 
 
 			}
 			}