Fix depth stencil not working on wgpu wasm_js build

This commit is contained in:
Scott Campbell
2025-04-02 00:13:45 +11:00
committed by GitHub
parent 70ddb74e40
commit b0228154d9
+1 -1
View File
@@ -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))),