summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorLe Juez Victor <[email protected]>2023-06-05 01:13:08 +0200
committerGitHub <[email protected]>2023-06-05 01:13:08 +0200
commit753c0b385380adff54803fb9ff90fa5b4763327b (patch)
tree1d1fca67bb26373515406b13f498a3b4ce081f7b /src
parentf8b352f6d979bd7bfb960fc776bea0e9d39bf9da (diff)
downloadraylib-753c0b385380adff54803fb9ff90fa5b4763327b.tar.gz
raylib-753c0b385380adff54803fb9ff90fa5b4763327b.zip
Addition of support for vox files in version 200. (#3097)
Diffstat (limited to 'src')
-rw-r--r--src/external/vox_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/vox_loader.h b/src/external/vox_loader.h
index c1b26e6f..6df10b51 100644
--- a/src/external/vox_loader.h
+++ b/src/external/vox_loader.h
@@ -555,7 +555,7 @@ int Vox_LoadFromMemory(unsigned char* pvoxData, unsigned int voxDataSize, VoxArr
version = ((unsigned int*)fileDataPtr)[0];
fileDataPtr += 4;
- if (version != 150)
+ if (version != 150 && version != 200)
{
return VOX_ERROR_FILE_VERSION_NOT_MATCH; //"MagicaVoxel version doesn't match"
}