dont load svg

This commit is contained in:
Green Sky
2026-01-10 13:09:41 +01:00
parent 22823c5ca2
commit bf55561193
3 changed files with 33 additions and 32 deletions

View File

@@ -7,6 +7,7 @@
static std::optional<const char*> getExt(SDL_IOStream* ios) {
// blacklist:
// - svg
// - tga
// - tiff
// - xcf
@@ -33,8 +34,6 @@ static std::optional<const char*> getExt(SDL_IOStream* ios) {
return "png";
} else if (IMG_isPNM(ios)) {
return "pnm";
} else if (IMG_isSVG(ios)) {
return "svg";
} else if (IMG_isXPM(ios)) {
return "xpm";
} else if (IMG_isXV(ios)) {