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:
parent
54d5884213
commit
ad1ba70fdd
5 changed files with 31 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue