add support for ETC2_EAC in .ktx files

This commit is contained in:
milek7
2021-01-20 22:46:52 +01:00
parent d5fadaf98c
commit 4e868288ee
6 changed files with 1357 additions and 23 deletions

View File

@@ -64,7 +64,7 @@ TextureTest( std::string const &Name ) {
auto const lookup {
FileExists(
{ Global.asCurrentTexturePath + Name, Name, szTexturePath + Name },
{ ".mat", ".dds", ".tga", ".png", ".bmp", ".jpg", ".tex" } ) };
{ ".mat", ".dds", ".tga", ".ktx", ".png", ".bmp", ".jpg", ".tex" } ) };
return ( lookup.first + lookup.second );
}