remove unnecessary NULL assignment.

This commit is contained in:
aliaspider 2018-03-23 04:14:10 +01:00
parent 54d9406713
commit 198c946218

View file

@ -183,10 +183,8 @@ void TextureCacheVulkan::DeviceLost() {
samplerCache_.DeviceLost();
if(samplerNearest_) {
if (samplerNearest_)
vulkan_->Delete().QueueDeleteSampler(samplerNearest_);
samplerNearest_ = VK_NULL_HANDLE;
}
nextTexture_ = nullptr;
}