diff options
| author | Peter0x44 <[email protected]> | 2021-10-30 22:43:07 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-30 23:43:07 +0200 |
| commit | 2bb4d36c43a8061ab2ede5729be23a6d2ceba2be (patch) | |
| tree | 9ee6645bfd7ea8ad16d7d9504d948fc61219dccc /examples/models | |
| parent | b7240d6a36de08cee6f8e00f213c274ba17205c2 (diff) | |
| download | raylib-2bb4d36c43a8061ab2ede5729be23a6d2ceba2be.tar.gz raylib-2bb4d36c43a8061ab2ede5729be23a6d2ceba2be.zip | |
Add missing file extensions for drag-and-drop support (#2090)
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_loading.c | 2 |
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 |
