New fonts
This commit is contained in:
@ -113,7 +113,8 @@ void OptionsState::render(SDL_Renderer* renderer, float logicalScale, SDL_Rect l
|
||||
|
||||
UIRenderer::drawSciFiPanel(renderer, panel);
|
||||
|
||||
FontAtlas* retroFont = ctx.pixelFont ? ctx.pixelFont : ctx.font;
|
||||
// For options/settings we prefer the secondary (Exo2) font for longer descriptions.
|
||||
FontAtlas* retroFont = ctx.font ? ctx.font : ctx.pixelFont;
|
||||
|
||||
if (!logoTexture && retroFont) {
|
||||
retroFont->draw(renderer, panel.x + 24.0f, panel.y + 24.0f, "OPTIONS", 2.0f, {255, 230, 120, 255});
|
||||
|
||||
Reference in New Issue
Block a user