mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-27 23:41:31 +00:00
Merge pull request #6661 from mothfuzz/patch-4
Fix naming for wgpuTextureGetDepthOrArrayLayers in wgpu.js
This commit is contained in:
2
vendor/wgpu/wgpu.js
vendored
2
vendor/wgpu/wgpu.js
vendored
@@ -3308,7 +3308,7 @@ class WebGPUInterface {
|
||||
* @param {number} textureIdx
|
||||
* @returns {number}
|
||||
*/
|
||||
wgpuTextureDepthOrArrayLayers: (textureIdx) => {
|
||||
wgpuTextureGetDepthOrArrayLayers: (textureIdx) => {
|
||||
const texture = this.textures.get(textureIdx);
|
||||
return texture.depthOrArrayLayers;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user