summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPeter0x44 <[email protected]>2021-10-30 22:43:07 +0100
committerGitHub <[email protected]>2021-10-30 23:43:07 +0200
commit2bb4d36c43a8061ab2ede5729be23a6d2ceba2be (patch)
tree9ee6645bfd7ea8ad16d7d9504d948fc61219dccc
parentb7240d6a36de08cee6f8e00f213c274ba17205c2 (diff)
downloadraylib-2bb4d36c43a8061ab2ede5729be23a6d2ceba2be.tar.gz
raylib-2bb4d36c43a8061ab2ede5729be23a6d2ceba2be.zip
Add missing file extensions for drag-and-drop support (#2090)
-rw-r--r--examples/models/models_loading.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/models/models_loading.c b/examples/models/models_loading.c
index 0c9b702b..f13b11ef 100644
--- a/examples/models/models_loading.c
+++ b/examples/models/models_loading.c
@@ -74,6 +74,8 @@ int main(void)
{
if (IsFileExtension(droppedFiles[0], ".obj") ||
IsFileExtension(droppedFiles[0], ".gltf") ||
+ IsFileExtension(droppedFiles[0], ".glb") ||
+ IsFileExtension(droppedFiles[0], ".vox") ||
IsFileExtension(droppedFiles[0], ".iqm")) // Model file formats supported
{
UnloadModel(model); // Unload previous model