Change font location

This commit is contained in:
Wizzard 2023-12-12 16:15:04 -05:00
parent 65ae6a78f0
commit 7f1b9e2a8e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ int main(int argc, char* argv[]) {
std::cerr << "Failed to load shotgun texture" << std::endl;
}
TTF_Font* font = TTF_OpenFont("OpenSans-Bold.ttf", 24);
TTF_Font* font = TTF_OpenFont("/usr/share/fonts/TTF/OpenSans-Bold.ttf", 24);
if (!font) {
std::cerr << "Failed to load font! TTF_Error: " << TTF_GetError() << std::endl;
SDL_DestroyRenderer(renderer);