aboutsummaryrefslogtreecommitdiffstats
path: root/mtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtl.c')
-rw-r--r--mtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtl.c b/mtl.c
index 42e5de2..3b46ce7 100644
--- a/mtl.c
+++ b/mtl.c
@@ -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);