Przeglądaj źródła

Update WebGPURenderPipelines.js

Fix typo.
Michael Herzog 4 lat temu
rodzic
commit
1d58978748

+ 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 );