summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-11 00:16:00 +0100
committerGitHub <noreply@github.com>2020-12-11 00:16:00 +0100
commit32c06dfc8dbf4c3e29232b7dbccc6a34ba257027 (patch)
tree90dbb9064759b20c97b41e29f1f886444c5ae807 /editor/import
parent5b3e2dcaba2b9f378aef84cb80a4d155bf1a755a (diff)
parent9263f8eb4bacd771c47dab35aaa31c7569ece035 (diff)
Merge pull request #44271 from akien-mga/pvrtc-compress-cleanup
PVRTC: Move compress func to `modules/pvr`, drop obsolete PVRTexTool code
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/resource_importer_texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp
index ac2485fe31..c8dae53722 100644
--- a/editor/import/resource_importer_texture.cpp
+++ b/editor/import/resource_importer_texture.cpp
@@ -537,7 +537,7 @@ Error ResourceImporterTexture::import(const String &p_source_file, const String
}
if (ProjectSettings::get_singleton()->get("rendering/vram_compression/import_pvrtc")) {
- _save_stex(image, p_save_path + ".pvrtc.stex", compress_mode, lossy, Image::COMPRESS_PVRTC4, mipmaps, stream, detect_3d, detect_roughness, detect_normal, force_normal, srgb_friendly_pack, true, mipmap_limit, normal_image, roughness_channel);
+ _save_stex(image, p_save_path + ".pvrtc.stex", compress_mode, lossy, Image::COMPRESS_PVRTC1_4, mipmaps, stream, detect_3d, detect_roughness, detect_normal, force_normal, srgb_friendly_pack, true, mipmap_limit, normal_image, roughness_channel);
r_platform_variants->push_back("pvrtc");
formats_imported.push_back("pvrtc");
}