Set both texture format overrides to false by default

This commit is contained in:
Aaron Franke 2023-06-12 11:44:40 -05:00
parent 593d5ca29f
commit 1e6f30e6bd
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
2 changed files with 7 additions and 2 deletions

View file

@ -2870,7 +2870,10 @@ TypedArray<StringName> RenderingServer::_global_shader_parameter_get_list() cons
}
void RenderingServer::init() {
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc_bptc", true);
// These are overrides, even if they are false Godot will still
// import the texture formats that the host platform needs.
// See `const bool can_s3tc_bptc` in the resource importer.
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc_bptc", false);
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc2_astc", false);
GLOBAL_DEF("rendering/textures/lossless_compression/force_png", false);