mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-22 22:45:39 +00:00
Font system refactor, use pre-rendered fonts
This commit is contained in:
@@ -158,7 +158,7 @@ void DrawTouchScreenMenu (DrawSurface *surface, const THandle<BitmapImage> &back
|
||||
|
||||
const int numItems = sizeof(itemTexts) / sizeof(itemTexts[0]);
|
||||
|
||||
PortabilityLayer::RenderedFont *rfont = GetHandwritingFont(48, PortabilityLayer::FontFamilyFlag_None, true);
|
||||
PortabilityLayer::RenderedFont *rfont = GetFont(PortabilityLayer::FontPresets::kHandwriting48);
|
||||
if (!rfont)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user