소스 검색

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 ) {