diff options
author | kdx <kikoodx@paranoici.org> | 2023-05-11 01:39:27 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-05-11 01:59:07 +0200 |
commit | ba11ae247bf6d234de29feec5fc59e7f3b96d632 (patch) | |
tree | 1e6bcce496e320aff32faee72953f59746022866 /sources/TZR_LoadResource.c | |
parent | 378f0a3965c917b0491e2b30938684584bb754f5 (diff) | |
download | tzr-ba11ae247bf6d234de29feec5fc59e7f3b96d632.tar.gz |
optional stb_image loading
Diffstat (limited to 'sources/TZR_LoadResource.c')
-rw-r--r-- | sources/TZR_LoadResource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/TZR_LoadResource.c b/sources/TZR_LoadResource.c index 4f5312e..c1c73ce 100644 --- a/sources/TZR_LoadResource.c +++ b/sources/TZR_LoadResource.c @@ -10,6 +10,7 @@ deduce_type(const char *path) return TZR_RES_RAW; if (strcasecmp(path_extension, ".bmp") == 0 || strcasecmp(path_extension, ".png") == 0 || + strcasecmp(path_extension, ".jpg") == 0 || strcasecmp(path_extension, ".qoi") == 0) return TZR_RES_IMAGE; if (strcasecmp(path_extension, ".wav") == 0) |