Added proper deletion of VKSamplers
This commit is contained in:
parent
82f9499f5d
commit
416c571fd2
|
@ -49,7 +49,7 @@ namespace SHADE
|
|||
SHVkSampler::~SHVkSampler() noexcept
|
||||
{
|
||||
if (vkSampler)
|
||||
device->GetVkLogicalDevice().destroySampler();
|
||||
device->GetVkLogicalDevice().destroySampler(vkSampler);
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue