Removed no-longer required texture compression feature check
This commit is contained in:
parent
5db9781d52
commit
70fc3c4675
1 changed files with 0 additions and 10 deletions
|
|
@ -103,16 +103,6 @@ public:
|
||||||
if (deviceFeatures.samplerAnisotropy) {
|
if (deviceFeatures.samplerAnisotropy) {
|
||||||
enabledFeatures.samplerAnisotropy = VK_TRUE;
|
enabledFeatures.samplerAnisotropy = VK_TRUE;
|
||||||
}
|
}
|
||||||
// Enable texture compression
|
|
||||||
if (deviceFeatures.textureCompressionBC) {
|
|
||||||
enabledFeatures.textureCompressionBC = VK_TRUE;
|
|
||||||
}
|
|
||||||
else if (deviceFeatures.textureCompressionASTC_LDR) {
|
|
||||||
enabledFeatures.textureCompressionASTC_LDR = VK_TRUE;
|
|
||||||
}
|
|
||||||
else if (deviceFeatures.textureCompressionETC2) {
|
|
||||||
enabledFeatures.textureCompressionETC2 = VK_TRUE;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void buildCommandBuffers()
|
void buildCommandBuffers()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue