From dce4180d5d06b38ced1f526142667b48fb2ce1ed Mon Sep 17 00:00:00 2001 From: _ <_> Date: Thu, 5 Apr 2018 15:16:07 -0700 Subject: [PATCH] Replaced placeholder texture file name --- test/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/main.c b/test/main.c index d249ebe..0ee9247 100644 --- a/test/main.c +++ b/test/main.c @@ -131,7 +131,7 @@ void unpacktextures(const char *filedata, unsigned int i; for (i = 0; i < texturecount; i++) { texsize = descripts[i/(tp -> batchNumber)] -> textureSize; - sprintf(fmt, "test_%d.dds", i); + sprintf(fmt, "%s_%d.dds", filename, i); write(fmt, i, filedata + tloc[i], texsize); } free(fmt);