Ver código fonte

WebGPURenderPipelines: Fix typo. (#21751)

Michael Herzog 4 anos atrás
pai
commit
6de8abafb4

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