1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed some Win7 compat issues

This commit is contained in:
Brian Fiete 2019-09-25 07:51:06 -07:00
parent 54d5884213
commit ad1ba70fdd
5 changed files with 31 additions and 17 deletions

View file

@ -163,7 +163,7 @@ bool FTFont::Load(const StringImpl& fileName, float pointSize)
mFaceSize = new FTFontManager::FaceSize();
*faceSizePtr = mFaceSize;
FT_Size ftSize;
FT_Size ftSize = NULL;
FT_New_Size(mFace->mFTFace, &ftSize);
FT_Activate_Size(ftSize);
auto error = FT_Set_Char_Size(mFace->mFTFace, 0, (int)(pointSize * 64), 72, 72);