strlcpy(fnt->texpath, name, sizeof(fnt->texpath));
// load the cvars when the font is FIRST loader
fnt->settings.scale = scale;
- // fix bad scale
- if (fnt->settings.scale <= 0)
- fnt->settings.scale = 1;
fnt->settings.voffset = voffset;
fnt->settings.antialias = r_font_antialias.integer;
fnt->settings.hinting = r_font_hinting.integer;
fnt->settings.shadowz = r_font_postprocess_shadow_z.value;
}
+ // fix bad scale
+ if (fnt->settings.scale <= 0)
+ fnt->settings.scale = 1;
+
if(drawtexturepool == NULL)
return; // before gl_draw_start, so will be loaded later