Browse Source

Merge pull request #4989 from SlateyDev/patch-1

Fix depth stencil not working on wgpu wasm_js build
Laytan 4 months ago
parent
commit
cc61fdd90e
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))),