From f8c7225047db7ecb5a1a3d4a9fddf610c3175ce5 Mon Sep 17 00:00:00 2001 From: Gaia <83567777+mothfuzz@users.noreply.github.com> Date: Wed, 6 May 2026 23:26:11 -0500 Subject: [PATCH] Fix naming for wgpuTextureGetDepthOrArrayLayers in wgpu.js Fix wgpuTextureDepthOrArrayLayers -> wgpuTextureGetDepthOrArrayLayers to match definition in wgpu.odin --- vendor/wgpu/wgpu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/wgpu/wgpu.js b/vendor/wgpu/wgpu.js index d916de26d..671b4a258 100644 --- a/vendor/wgpu/wgpu.js +++ b/vendor/wgpu/wgpu.js @@ -3308,7 +3308,7 @@ class WebGPUInterface { * @param {number} textureIdx * @returns {number} */ - wgpuTextureDepthOrArrayLayers: (textureIdx) => { + wgpuTextureGetDepthOrArrayLayers: (textureIdx) => { const texture = this.textures.get(textureIdx); return texture.depthOrArrayLayers; },