From b0228154d9675fcd6362715c329b553ee45205c8 Mon Sep 17 00:00:00 2001 From: Scott Campbell Date: Wed, 2 Apr 2025 00:13:45 +1100 Subject: [PATCH] Fix depth stencil not working on wgpu wasm_js build --- 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 7866c7131..f3d29eafd 100644 --- a/vendor/wgpu/wgpu.js +++ b/vendor/wgpu/wgpu.js @@ -528,7 +528,7 @@ class WebGPUInterface { return undefined; } - const off = this.struct(ptr); + const off = this.struct(start); return { view: this.textureViews.get(this.mem.loadPtr(off(4))),