diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-08-06 21:33:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-06 21:33:13 +0200 |
commit | 233cb86e864affe3dee8f60503584f1eb7e36287 (patch) | |
tree | e1f57d5803abd1bbcdf296802537892e0289e645 /src/client/fontengine.h | |
parent | 8e757859d6a6bf6482480904e8485e9344e567ab (diff) | |
download | hax-minetest-server-233cb86e864affe3dee8f60503584f1eb7e36287.tar.gz hax-minetest-server-233cb86e864affe3dee8f60503584f1eb7e36287.zip |
Clean up and fix freetype=false crashes (#8641)
A IGUIFont of type bitmap/vector cannot be converted to CGUITTFont
Fixes various segfaults in gameplay
Shorter font cache code, cleaned up (?)
Diffstat (limited to '')
-rw-r--r-- | src/client/fontengine.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/client/fontengine.h b/src/client/fontengine.h index a75618f86..62aa71897 100644 --- a/src/client/fontengine.h +++ b/src/client/fontengine.h @@ -112,15 +112,6 @@ private: /** current font engine mode */ FontMode m_currentMode = FM_Standard; - /** font mode of last request */ - FontMode m_lastMode; - - /** size of last request */ - unsigned int m_lastSize = 0; - - /** last font returned */ - irr::gui::IGUIFont* m_lastFont = nullptr; - DISABLE_CLASS_COPY(FontEngine); }; |