- Added preloading of fonts to reduce the chance that characters from a single
font will require more than one hardware texture to display. SVN r717 (trunk)
This commit is contained in:
parent
4c9d633a94
commit
499fefec07
4 changed files with 52 additions and 0 deletions
|
|
@ -1386,6 +1386,10 @@ bool V_DoModeSetup (int width, int height, int bits)
|
|||
screen->SetFont (SmallFont);
|
||||
screen->SetGamma (Gamma);
|
||||
|
||||
// Load fonts now so they can be packed into textures straight away,
|
||||
// if D3DFB is being used for the display.
|
||||
FFont::StaticPreloadFonts();
|
||||
|
||||
{
|
||||
int ratio;
|
||||
int cwidth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue