ソースを参照

Merge pull request #4989 from SlateyDev/patch-1

Fix depth stencil not working on wgpu wasm_js build
Laytan 6 ヶ月 前
コミット
cc61fdd90e
1 ファイル変更1 行追加1 行削除
  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))),