mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Merge pull request #13944 from unknownbrackets/vulkan-scaling
Vulkan: Prevent scaling shader leak
This commit is contained in:
1 file changed
+3
@@ -394,6 +394,9 @@ void TextureCacheVulkan::CompileScalingShader() {
|
||||
if (copyCS_ != VK_NULL_HANDLE)
|
||||
vulkan_->Delete().QueueDeleteShaderModule(copyCS_);
|
||||
textureShader_.clear();
|
||||
} else if (uploadCS_ || copyCS_) {
|
||||
// No need to recreate.
|
||||
return;
|
||||
}
|
||||
if (!g_Config.bTexHardwareScaling)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user