Skip to content

Commit 1e2b638

Browse files
committedJul 29, 2021
Remove unsupported formats from the media enumerator
1 parent 28c98f9 commit 1e2b638

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

Diff for: ‎src/server.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -2438,10 +2438,9 @@ bool Server::addMediaFile(const std::string &filename,
24382438
}
24392439
// If name is not in a supported format, ignore it
24402440
const char *supported_ext[] = {
2441-
".png", ".jpg", ".bmp", ".tga",
2442-
".pcx", ".ppm", ".psd", ".wal", ".rgb",
2441+
".png", ".jpg", ".bmp",
24432442
".ogg",
2444-
".x", ".b3d", ".md2", ".obj",
2443+
".x", ".b3d", ".obj",
24452444
// Custom translation file format
24462445
".tr",
24472446
NULL

0 commit comments

Comments
 (0)