Skip to content
Permalink
Browse files
Remove unsupported formats from the media enumerator
  • Loading branch information
hecktest committed Jul 29, 2021
1 parent 28c98f9 commit 1e2b6388818fec0d4cdc52f796850bfb7ec3a22e
Showing with 2 additions and 3 deletions.
  1. +2 −3 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

0 comments on commit 1e2b638

Please sign in to comment.