mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Remove unsupported formats from the media enumerator
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user