example app: load fonts from project dir, not slot dir

Slot dir will containt link files, not font files
This commit is contained in:
David Anderson 2014-01-19 16:55:10 -08:00
parent a76241fefd
commit f4a270ad04
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ void app_graphics_init() {
glClearColor(0.0f, 0.0f, 0.0f, 0.0f); glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
ttf_load_fonts("."); ttf_load_fonts(strlen(uc_aid.project_dir)?uc_aid.project_dir:".");
boinc_resolve_filename("logo.jpg", path, sizeof(path)); boinc_resolve_filename("logo.jpg", path, sizeof(path));
logo.load_image_file(path); logo.load_image_file(path);