From 7f1b9e2a8e090a1f03f115a174f0e6441d3ec048 Mon Sep 17 00:00:00 2001 From: Wizzard <25581244+Wizzard@users.noreply.toomuchslop.com> Date: Tue, 12 Dec 2023 16:15:04 -0500 Subject: [PATCH] Change font location --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4bd03db..2b877de 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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);