mirror of https://github.com/BOINC/boinc.git
example app: load fonts from project dir, not slot dir
Slot dir will containt link files, not font files
This commit is contained in:
parent
a76241fefd
commit
f4a270ad04
|
@ -246,7 +246,7 @@ void app_graphics_init() {
|
|||
|
||||
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));
|
||||
logo.load_image_file(path);
|
||||
|
|
Loading…
Reference in New Issue