use default values for freetype fontcaches (needs testing!)

Origin commit data
------------------
Commit: e6fafadcea
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)

Origin message was:
------------------
- use default values for freetype fontcaches (needs testing!)
This commit is contained in:
gixxpunk
2016-07-07 17:46:18 +02:00
parent 1053f4f323
commit bc1e7ce438
3 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ FBFontRenderClass::FBFontRenderClass(const int xr, const int yr)
int maxbytes= 4 *1024*1024;
dprintf(DEBUG_INFO, "[FONT] Intializing font cache, using max. %dMB...\n", maxbytes/1024/1024);
fflush(stdout);
if (FTC_Manager_New(library, 10, 20, maxbytes, myFTC_Face_Requester, this, &cacheManager))
if (FTC_Manager_New(library, 0, 0, maxbytes, myFTC_Face_Requester, this, &cacheManager))
{
dprintf(DEBUG_NORMAL, "[FONT] manager failed!\n");
return;