@galacean/engine-core 1.6.5 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1652,7 +1652,8 @@ SystemInfo._initialize();
1652
1652
  function TextureUtils() {}
1653
1653
  /**
1654
1654
  * Check if the texture config supports auto mipmap generation with real correction for mipmap and isSRGBColorSpace.
1655
- */ TextureUtils.supportGenerateMipmapsWithCorrection = function supportGenerateMipmapsWithCorrection(width, height, format, mipmap, isSRGBColorSpace, isWebGL2) {
1655
+ */ TextureUtils.supportGenerateMipmapsWithCorrection = function supportGenerateMipmapsWithCorrection(engine, width, height, format, mipmap, isSRGBColorSpace) {
1656
+ var isWebGL2 = engine._hardwareRenderer._isWebGL2;
1656
1657
  if (!mipmap) {
1657
1658
  return false;
1658
1659
  }