Fixes a startup CME when BLS (#2274)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-10-18 20:40:14 -07:00
1 parent 2d9d1a45b7
commit 32f8eef15b
1 file changed
+1 -1
@@ -194,7 +194,7 @@ public class FontStrategist {
// The splash font renderer can only bind its own ascii texture.
private static FontProvider findModernGlyph(BatchingFontRenderer me, char chr, boolean forceUnicode) {
if (!FontConfig.enableModernFont || forceUnicode || me.isSplash) { return null; }
if (!FontConfig.enableModernFont || forceUnicode || me.isSplash || !GLStateManager.isMainThread()) { return null; }
return FontProviderBitmap.find(chr);
}