mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
remove unnecessary NULL assignment.
This commit is contained in:
parent
54d9406713
commit
198c946218
1 changed files with 1 additions and 3 deletions
|
@ -183,10 +183,8 @@ void TextureCacheVulkan::DeviceLost() {
|
|||
|
||||
samplerCache_.DeviceLost();
|
||||
|
||||
if(samplerNearest_) {
|
||||
if (samplerNearest_)
|
||||
vulkan_->Delete().QueueDeleteSampler(samplerNearest_);
|
||||
samplerNearest_ = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
nextTexture_ = nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue