Skip to content

Commit

Permalink
Fix textrender variables being uninitialized
Browse files Browse the repository at this point in the history
Regression from ddnet#6952.
  • Loading branch information
Robyt3 committed Aug 7, 2023
1 parent bbbc4e5 commit 0e161cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/engine/client/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ class CGlyphMap
uint8_t m_aaGlyphData[NUM_FONT_TEXTURES][64 * 1024];

// Font faces
FT_Face m_DefaultFace;
FT_Face m_IconFace;
FT_Face m_VariantFace;
FT_Face m_SelectedFace;
FT_Face m_DefaultFace = nullptr;
FT_Face m_IconFace = nullptr;
FT_Face m_VariantFace = nullptr;
FT_Face m_SelectedFace = nullptr;
std::vector<FT_Face> m_vFallbackFaces;
std::vector<FT_Face> m_vFtFaces;

Expand Down

0 comments on commit 0e161cf

Please sign in to comment.