Procházet zdrojové kódy

utils : update probeAsync jsdoc (#32995)

Ed Preston před 1 týdnem
rodič
revize
92d45c73e5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/utils.js

+ 1 - 1
src/utils.js

@@ -356,7 +356,7 @@ function warnOnce( ...params ) {
  * main thread. This is useful for GPU-CPU synchronization in WebGL contexts.
  * main thread. This is useful for GPU-CPU synchronization in WebGL contexts.
  *
  *
  * @private
  * @private
- * @param {WebGLRenderingContext|WebGL2RenderingContext} gl - The WebGL rendering context.
+ * @param {WebGL2RenderingContext} gl - The WebGL rendering context.
  * @param {WebGLSync} sync - The WebGL sync object to wait for.
  * @param {WebGLSync} sync - The WebGL sync object to wait for.
  * @param {number} interval - The polling interval in milliseconds.
  * @param {number} interval - The polling interval in milliseconds.
  * @return {Promise<void>} A promise that resolves when the sync completes or rejects if it fails.
  * @return {Promise<void>} A promise that resolves when the sync completes or rejects if it fails.

粤ICP备19079148号