Skip to content

Commit

Permalink
thirdparty/ftgl: Fix issue when setting character resolution
Browse files Browse the repository at this point in the history
Apply patch from ulrichard/ftgl#17.
  • Loading branch information
anlambert committed Oct 30, 2024
1 parent e2b5978 commit c26b91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/ftgl/FTSize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bool FTSize::CharSize(FT_Face* face, unsigned int pointSize, unsigned int xRes,
{
if(size != pointSize || xResolution != xRes || yResolution != yRes)
{
err = FT_Set_Char_Size(*face, 0L, pointSize * 64, xResolution, yResolution);
err = FT_Set_Char_Size(*face, 0L, pointSize * 64, xRes, yRes);

if(!err)
{
Expand Down

0 comments on commit c26b91c

Please sign in to comment.