ソースを参照

Merge pull request #5203 from mothfuzz/patch-3

Correct mipmapFilter field name in wgpu.js
Laytan 3 ヶ月 前
コミット
1886c7df0a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      vendor/wgpu/wgpu.js

+ 1 - 1
vendor/wgpu/wgpu.js

@@ -2033,7 +2033,7 @@ class WebGPUInterface {
 						addressModeW:  this.enumeration("AddressMode", off(4)),
 						magFilter:     this.enumeration("FilterMode", off(4)),
 						minFilter:     this.enumeration("FilterMode", off(4)),
-						mipMapFilter:  this.enumeration("MipmapFilterMode", off(4)),
+						mipmapFilter:  this.enumeration("MipmapFilterMode", off(4)),
 						lodMinClamp:   this.mem.loadF32(off(4)),
 						lodMaxClamp:   this.mem.loadF32(off(4)),
 						compare:       this.enumeration("CompareFunction", off(4)),