Remove unsupported formats from the media enumerator

This commit is contained in:
hecks 2021-07-29 22:36:25 +02:00
parent 28c98f9fa5
commit 1e2b638881
1 changed files with 2 additions and 3 deletions

View File

@ -2438,10 +2438,9 @@ bool Server::addMediaFile(const std::string &filename,
}
// If name is not in a supported format, ignore it
const char *supported_ext[] = {
".png", ".jpg", ".bmp", ".tga",
".pcx", ".ppm", ".psd", ".wal", ".rgb",
".png", ".jpg", ".bmp",
".ogg",
".x", ".b3d", ".md2", ".obj",
".x", ".b3d", ".obj",
// Custom translation file format
".tr",
NULL