2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-01 05:35:49 +01:00

engine: console: fix TF_NEAREST missing from quake fixed font

This commit is contained in:
Alibek Omarov 2024-01-29 05:41:52 +03:00
parent 6ca5f7c6fb
commit a28d45fdb2

View File

@ -575,7 +575,7 @@ static void Con_LoadConsoleFont( int fontNumber, cl_font_t *font )
{
// quake fixed font as fallback
// keep source to print directly into conback image
if( !Con_LoadFixedWidthFont( "gfx/conchars", font, scale, kRenderTransTexture, TF_FONT|TF_KEEP_SOURCE ))
if( !Con_LoadFixedWidthFont( "gfx/conchars", font, scale, kRenderTransTexture, TF_FONT|TF_NEAREST|TF_KEEP_SOURCE ))
Con_DPrintf( S_ERROR "failed to load console font\n" );
}
}