瀏覽代碼

WebGPURenderPipelines: Fix typo. (#21751)

Michael Herzog 4 年之前
父節點
當前提交
6de8abafb4
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/jsm/renderers/webgpu/WebGPURenderPipelines.js

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

@@ -184,14 +184,14 @@ class WebGPURenderPipelines {
 			pipelines[ i ] = pipelines[ pipelines.length - 1 ];
 			pipelines.pop();
 
-			this._relaseStage( pipeline.stageVertex );
-			this._relaseStage( pipeline.stageFragment );
+			this._releaseStage( pipeline.stageVertex );
+			this._releaseStage( pipeline.stageFragment );
 
 		}
 
 	}
 
-	_relaseStage( stage ) {
+	_releaseStage( stage ) {
 
 		if ( -- stage.usedTimes === 0 ) {