summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2010-12-09 20:50:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:48 +0000
commit00fde68d4e97fdebd62e9ce60c6c856e4e375111 (patch)
treea7e90c1b90dbed4ae0ff74fd43af498ae69b968f /src
parent0c090d924197519cbeca8fd943a87d0846ff4601 (diff)
* (bug #4822) Added the missing bit from r2073
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index 14c72945..8044dca9 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -1624,6 +1624,9 @@ void CG_LoadHudMenu( void )
cgDC.xscale = cgs.glconfig.vidWidth / 640.0f;
cgDC.yscale = cgs.glconfig.vidHeight / 480.0f;
+ cgDC.smallFontScale = CG_Cvar_Get( "ui_smallFont" );
+ cgDC.bigFontScale = CG_Cvar_Get( "ui_bigFont" );
+
cgDC.registerShaderNoMip = &trap_R_RegisterShaderNoMip;
cgDC.setColor = &trap_R_SetColor;
cgDC.drawHandlePic = &CG_DrawPic;