Skip to content

Commit 8b8d2b6

Browse files
committed
Bring back scaled fonts as were in commit b3c2fab
re: commit ebc8976
1 parent 6688c22 commit 8b8d2b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/ivis_opengl/textdraw.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,12 @@ void iV_SetFont(enum iV_fonts FontID)
233233
{
234234
switch (FontID)
235235
{
236-
default:
237236
case font_scaled:
237+
iV_SetTextSize(12.f * pie_GetVideoBufferHeight() / 480);
238+
glcFont(_glcFont_Regular);
239+
break;
240+
241+
default:
238242
case font_regular:
239243
iV_SetTextSize(12.f);
240244
glcFont(_glcFont_Regular);

0 commit comments

Comments
 (0)