Browse Source

Merge pull request #4989 from SlateyDev/patch-1

Fix depth stencil not working on wgpu wasm_js build
Laytan 6 tháng trước cách đây
mục cha
commit
cc61fdd90e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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))),