Browse Source

Fix depth stencil not working on wgpu wasm_js build

Scott Campbell 4 months ago
parent
commit
b0228154d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/wgpu/wgpu.js

+ 1 - 1
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))),