mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
fix: font load fail
This commit is contained in:
@@ -10,7 +10,7 @@ Font::Font() {
|
||||
if (FT_Init_FreeType(&m_ft)) {
|
||||
Logger::error("FREETYPE: Could not init FreeType Library");
|
||||
}
|
||||
if (FT_New_Face(m_ft, "assets/fonts/IBMPlexSans-Regular.ttf", 0, &m_face)) {
|
||||
if (FT_New_Face(m_ft, ASSETS_PATH "fonts/IBMPlexSans-Regular.ttf", 0, &m_face)) {
|
||||
Logger::error("FREETYPE: Failed to load font");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user