Fixing several validation related issues
This commit is contained in:
parent
6f723ea1e0
commit
a5022d6d5f
7 changed files with 18 additions and 10 deletions
|
|
@ -84,6 +84,14 @@ public:
|
|||
uniformBuffers.skybox.destroy();
|
||||
}
|
||||
|
||||
// Enable physical device features required for this example
|
||||
virtual void getEnabledFeatures()
|
||||
{
|
||||
if (deviceFeatures.samplerAnisotropy) {
|
||||
enabledFeatures.samplerAnisotropy = VK_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
void loadCubemap(std::string filename, VkFormat format, bool forceLinearTiling)
|
||||
{
|
||||
ktxResult result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue