mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Android: Default Min SDK to 24 for Vulkan mobile
Users can still go down to 21 when using GL Compatibility. This makes the default behavior match the default renderer, and thus avoids a warning in the out of the box experience. Also mark texture compression settings as basic, since out of the box users who want to export to Android will need to enable ETC2/ASTC manually.
This commit is contained in:
parent
d2b1474da7
commit
5b6c9c66a4
2 changed files with 8 additions and 8 deletions
|
@ -2856,8 +2856,8 @@ RenderingServer::RenderingServer() {
|
|||
}
|
||||
|
||||
void RenderingServer::init() {
|
||||
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc_bptc", OS::get_singleton()->get_preferred_texture_format() == OS::PREFERRED_TEXTURE_FORMAT_S3TC_BPTC);
|
||||
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc2_astc", OS::get_singleton()->get_preferred_texture_format() == OS::PREFERRED_TEXTURE_FORMAT_ETC2_ASTC);
|
||||
GLOBAL_DEF_RST_BASIC("rendering/textures/vram_compression/import_s3tc_bptc", OS::get_singleton()->get_preferred_texture_format() == OS::PREFERRED_TEXTURE_FORMAT_S3TC_BPTC);
|
||||
GLOBAL_DEF_RST_BASIC("rendering/textures/vram_compression/import_etc2_astc", OS::get_singleton()->get_preferred_texture_format() == OS::PREFERRED_TEXTURE_FORMAT_ETC2_ASTC);
|
||||
|
||||
GLOBAL_DEF("rendering/textures/lossless_compression/force_png", false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue