From 1e2b6388818fec0d4cdc52f796850bfb7ec3a22e Mon Sep 17 00:00:00 2001 From: hecks <42101236+hecktest@users.noreply.github.com> Date: Thu, 29 Jul 2021 22:36:25 +0200 Subject: Remove unsupported formats from the media enumerator --- src/server.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server.cpp b/src/server.cpp index 4d2cd8e55..8339faa76 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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 -- cgit v1.2.3