Skip to content

Commit

Permalink
move font file to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
catriverr committed Sep 24, 2024
1 parent 0207130 commit be95244
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bin/utils/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace Gmeng {
SDL_Quit();
return;
};
std::string font_path = "press_start.ttf";
std::string font_path = "assets/press_start.ttf";
font = TTF_OpenFont(font_path.c_str(), 24); // Default font and size
if (!font) {
throw std::runtime_error("TTF_OpenFont Error: " + std::string(TTF_GetError()));
Expand Down
Binary file removed press_start.ttf
Binary file not shown.
Binary file modified tests/out/test.o
Binary file not shown.

0 comments on commit be95244

Please sign in to comment.