ソースを参照

Update wgpu.js

mipmapFilter is being ignored and defaulting to .Nearest on web platforms due to incorrect capitalization of the field name
Gaia 3 ヶ月 前
コミット
433a21b6ff
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)),