Просмотр исходного кода

Fixed warning message in WebGLTimestampQueryPool (#33068)

PoseidonEnergy 1 месяц назад
Родитель
Сommit
b86ec644c6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/renderers/webgl-fallback/utils/WebGLTimestampQueryPool.js

+ 1 - 1
src/renderers/webgl-fallback/utils/WebGLTimestampQueryPool.js

@@ -61,7 +61,7 @@ class WebGLTimestampQueryPool extends TimestampQueryPool {
 		// Check if we have enough space for a new query pair
 		if ( this.currentQueryIndex + 2 > this.maxQueries ) {
 
-			warnOnce( `WebGPUTimestampQueryPool [${ this.type }]: Maximum number of queries exceeded, when using trackTimestamp it is necessary to resolves the queries via renderer.resolveTimestampsAsync( THREE.TimestampQuery.${ this.type.toUpperCase() } ).` );
+			warnOnce( `WebGLTimestampQueryPool [${ this.type }]: Maximum number of queries exceeded, when using trackTimestamp it is necessary to resolves the queries via renderer.resolveTimestampsAsync( THREE.TimestampQuery.${ this.type.toUpperCase() } ).` );
 			return null;
 
 		}

粤ICP备19079148号