浏览代码

Update WebGPURenderPipelines.js

Fix typo.
Michael Herzog 4 年之前
父节点
当前提交
1d58978748
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
 		// - clipping planes
 		//
 		//
 		// The renderer needs to manage multiple pipelines per object so
 		// 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 );
 		let pipeline = this.pipelines.get( object );