diff --git a/desmume/src/frontend/cocoa/OGLDisplayOutput.cpp b/desmume/src/frontend/cocoa/OGLDisplayOutput.cpp index 227ccb601..410e9964a 100644 --- a/desmume/src/frontend/cocoa/OGLDisplayOutput.cpp +++ b/desmume/src/frontend/cocoa/OGLDisplayOutput.cpp @@ -6407,7 +6407,7 @@ void OGLHUDLayer::CopyHUDFont(const FT_Face &fontFace, const size_t glyphSize, c glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); GLint texLevel = 0; - for (size_t tileSize = glyphTileSize, texSize = glyphTileSize * 16, gSize = glyphSize; texSize >= 1; texLevel++, tileSize >>= 1, texSize >>= 1, gSize = (GLfloat)tileSize * 0.75f) + for (size_t tileSize = glyphTileSize, texSize = glyphTileSize * 16, gSize = glyphSize; gSize >= 1; texLevel++, tileSize >>= 1, texSize >>= 1, gSize = (GLfloat)tileSize * 0.75f) { const size_t charMapBufferPixCount = texSize * texSize; const uint32_t fontColor = 0x00FFFFFF; @@ -6422,11 +6422,6 @@ void OGLHUDLayer::CopyHUDFont(const FT_Face &fontFace, const size_t glyphSize, c charMapBuffer[i] = fontColor; } - if (tileSize == 0) - { - continue; - } - error = FT_Set_Char_Size(fontFace, gSize << 6, gSize << 6, 72, 72); if (error) { diff --git a/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm index a6f0b3f6a..acfd3f7b4 100644 --- a/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm +++ b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm @@ -376,7 +376,7 @@ volatile bool execute = true; _cdp = new OE_OGLDisplayPresenter(fetchObj); _cdp->Init(); _cdp->SetHUDFontPath(hudFontPath); - _cdp->SetHUDRenderMipmapped(false); // Mipmapped HUD rendering doesn't work on OpenEmu! + _cdp->SetHUDRenderMipmapped(true); // OpenEmu doesn't provide us with the backing scaling factor, which is used to // adapt ClientDisplayPresenter to HiDPI/Retina displays. But if OpenEmu ever