-Remove harcoded opengl extension testing from OS, ask rasterizer instead.

-Fixed a bug where etc textures were imported broken
This commit is contained in:
Juan Linietsky
2019-02-26 11:58:47 -03:00
parent 3299045988
commit 5eeb06ffd1
14 changed files with 41 additions and 18 deletions

View File

@ -235,7 +235,6 @@ void ResourceImporterTexture::_save_stex(const Ref<Image> &p_image, const String
f->store_16(p_image->get_width());
f->store_16(next_power_of_2(p_image->get_height()));
f->store_16(p_image->get_height());
f->store_16(0);
} else {
f->store_16(p_image->get_width());
f->store_16(0);