Răsfoiți Sursa

Update WebGPURenderPipelines.js

Fix typo.
Michael Herzog 5 ani în urmă
părinte
comite
1d58978748
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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 );
 

粤ICP备19079148号