diff options
| author | Juan Linietsky | 2017-05-26 21:49:49 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-05-26 22:31:32 -0300 |
| commit | f89641907f8b45941f5e67891936ee8050a3ef92 (patch) | |
| tree | a292e88719ad488fe75a7c2f3fe1e49d277f0c70 /modules/dds/texture_loader_dds.cpp | |
| parent | 41918f328a96f8ef27587c016ca047f8d31f933e (diff) | |
| download | godot-f89641907f8b45941f5e67891936ee8050a3ef92.tar.gz godot-f89641907f8b45941f5e67891936ee8050a3ef92.tar.zst godot-f89641907f8b45941f5e67891936ee8050a3ef92.zip | |
-Added EXR supprot for HDR (no BC6 compression yet though)
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
Diffstat (limited to 'modules/dds/texture_loader_dds.cpp')
| -rw-r--r-- | modules/dds/texture_loader_dds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dds/texture_loader_dds.cpp b/modules/dds/texture_loader_dds.cpp index 4448c8038..da895a6d6 100644 --- a/modules/dds/texture_loader_dds.cpp +++ b/modules/dds/texture_loader_dds.cpp @@ -76,8 +76,8 @@ static const DDSFormatInfo dds_format_info[DDS_MAX] = { { "DXT1", true, false, 4, 8, Image::FORMAT_DXT1 }, { "DXT3", true, false, 4, 16, Image::FORMAT_DXT3 }, { "DXT5", true, false, 4, 16, Image::FORMAT_DXT5 }, - { "ATI1", true, false, 4, 8, Image::FORMAT_ATI1 }, - { "ATI2", true, false, 4, 16, Image::FORMAT_ATI2 }, + { "ATI1", true, false, 4, 8, Image::FORMAT_LATC_L }, + { "ATI2", true, false, 4, 16, Image::FORMAT_LATC_LA }, { "BGRA8", false, false, 1, 4, Image::FORMAT_RGBA8 }, { "BGR8", false, false, 1, 3, Image::FORMAT_RGB8 }, { "RGBA8", false, false, 1, 4, Image::FORMAT_RGBA8 }, |
