Browse Source

Update WebGPURenderPipelines.js

Fix typo.
Michael Herzog 4 năm trước cách đây
mục cha
commit
1d58978748
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/jsm/renderers/webgpu/WebGPURenderPipelines.js

+ 2 - 2
examples/jsm/renderers/webgpu/WebGPURenderPipelines.js

@@ -41,8 +41,8 @@ class WebGPURenderPipelines {
 		// - clipping planes
 		//
 		// The renderer needs to manage multiple pipelines per object so
-		// GPUDevice.createRenderPipeline() is only called no pipeline exists for the
-		// given configuration.
+		// GPUDevice.createRenderPipeline() is only called when no pipeline exists for the
+		// current configuration.
 
 		let pipeline = this.pipelines.get( object );