ImageLoader: Remove references to unsupported svgz extension

I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.

Also cleaning a couple missing includes in platform export code.

(cherry picked from commit 1ee44b2366)
This commit is contained in:
Rémi Verschelde
2022-01-17 10:52:32 +01:00
parent fa709e7169
commit 0e0ccc4adf
6 changed files with 8 additions and 8 deletions

View File

@@ -152,7 +152,6 @@ Error ImageLoaderSVG::load_image(Ref<Image> p_image, FileAccess *f, bool p_force
void ImageLoaderSVG::get_recognized_extensions(List<String> *p_extensions) const {
p_extensions->push_back("svg");
p_extensions->push_back("svgz");
}
ImageLoaderSVG::ImageLoaderSVG() {