@galacean/engine-core 1.1.0-beta.31 → 1.1.0-beta.32

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
@@ -2036,7 +2036,8 @@ var Logger = {
2036
2036
  _proto._createFontAtlas = function _createFontAtlas() {
2037
2037
  var _this = this, engine = _this._engine;
2038
2038
  var fontAtlas = new FontAtlas(engine);
2039
- var texture = new Texture2D(engine, 256, 256);
2039
+ var texture = new Texture2D(engine, 256, 256, exports.TextureFormat.R8G8B8A8, false);
2040
+ texture.filterMode = exports.TextureFilterMode.Point;
2040
2041
  fontAtlas.texture = texture;
2041
2042
  fontAtlas.isGCIgnored = texture.isGCIgnored = true;
2042
2043
  this._fontAtlases.push(fontAtlas);