diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-04 20:00:07 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-04 20:05:59 +0100 |
commit | b97f4f6e1083a939283505f3c324f70b6bf5341f (patch) | |
tree | fbd62c25ef2308616dd0503134ca84a444244307 /mtl.c | |
parent | d1d4c8678b313708b91ba0342db84d33c0bb0677 (diff) | |
download | faqe-b97f4f6e1083a939283505f3c324f70b6bf5341f.tar.gz faqe-b97f4f6e1083a939283505f3c324f70b6bf5341f.tar.xz faqe-b97f4f6e1083a939283505f3c324f70b6bf5341f.zip |
Move assets to an assets subdirectory and simplify model loading
Diffstat (limited to 'mtl.c')
-rw-r--r-- | mtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ int mtl_load(char *name) snprintf(m->name, sizeof m->name, "%s", name); - snprintf(loc, sizeof loc, "./tex/%s.png", name); + snprintf(loc, sizeof loc, "assets/%s.diff.png", name); f = fopen(loc, "rb"); if (f == NULL) eprintf("Could not open '%s':", loc); |