1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

basis_universal: Fix py3 build and document license and provenance

Also drop unneeded files.

Fix build with MinGW. Closes #32384.
This commit is contained in:
Rémi Verschelde
2019-09-27 09:05:04 +02:00
parent 4aea9f74e6
commit 7458a601ce
9 changed files with 54 additions and 423 deletions

View File

@@ -100,17 +100,20 @@ static void _compress_etc(Image *p_img, float p_lossy_quality, bool force_etc1_f
return;
}
// FIXME: Commented out during Vulkan rebase.
/*
if (force_etc1_format) {
// If VRAM compression is using ETC, but image has alpha, convert to RGBA4444 or LA8
// This saves space while maintaining the alpha channel
if (detected_channels == Image::DETECTED_RGBA) {
if (detected_channels == Image::USED_CHANNELS_RGBA) {
p_img->convert(Image::FORMAT_RGBA4444);
return;
} else if (detected_channels == Image::DETECTED_LA) {
} else if (detected_channels == Image::USE_CHANNELS_LA) {
p_img->convert(Image::FORMAT_LA8);
return;
}
}
*/
uint32_t imgw = p_img->get_width(), imgh = p_img->get_height();