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

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