Fixed ETC texture format
This commit is contained in:
parent
25060a00b0
commit
cd5f5318a9
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ public:
|
||||||
}
|
}
|
||||||
else if (vulkanDevice->features.textureCompressionETC2) {
|
else if (vulkanDevice->features.textureCompressionETC2) {
|
||||||
texFormatSuffix = "_etc2_unorm";
|
texFormatSuffix = "_etc2_unorm";
|
||||||
texFormat = VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK;
|
texFormat = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
vks::tools::exitFatal("Device does not support any compressed texture format!", "Error");
|
vks::tools::exitFatal("Device does not support any compressed texture format!", "Error");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue