Browse Source

WebGPURenderPipelines: Fix typo. (#21751)

Michael Herzog 4 years ago
parent
commit
6de8abafb4
1 changed files with 3 additions and 3 deletions
  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[ i ] = pipelines[ pipelines.length - 1 ];
 			pipelines.pop();
 			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 ) {
 		if ( -- stage.usedTimes === 0 ) {