diff options
author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2018-03-25 19:36:34 -0400 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-07-24 09:51:03 +0200 |
commit | a22e746bc3478bcba8540fbf30de58ebf975b132 (patch) | |
tree | dc7f8223597b1d05c62beb521643061b2f780d75 /scene/resources/dynamic_font.cpp | |
parent | 4b277c2c20438c5aada0d45f1e4228b15249faee (diff) |
Removed unnecessary assignments
Diffstat (limited to 'scene/resources/dynamic_font.cpp')
-rw-r--r-- | scene/resources/dynamic_font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index e5d463d391..eb7d517841 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -211,9 +211,9 @@ Error DynamicFontAtSize::_load() { scale_color_font = float(id.size) / face->available_sizes[i].width; } } - error = FT_Select_Size(face, best_match); + FT_Select_Size(face, best_match); } else { - error = FT_Set_Pixel_Sizes(face, 0, id.size * oversampling); + FT_Set_Pixel_Sizes(face, 0, id.size * oversampling); } ascent = (face->size->metrics.ascender / 64.0) / oversampling * scale_color_font; |