engine: client: font: do not apply filtering hack when fonts aren't upscaled

This commit is contained in:
Alibek Omarov 2023-02-03 18:06:07 +03:00
parent a19d34035d
commit e2c2821191
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ int CL_DrawCharacter( float x, float y, int number, rgba_t color, cl_font_t *fon
return 0;
rc = &font->fontRc[number];
if( font->nearest )
if( font->nearest || font->scale > 1.0f )
half = 0;
s1 = ((float)rc->left + half ) / texw;