mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-07 13:13:24 +02:00
Vulkan: Fix crash bug when post processing shaders failed to compile.
This commit is contained in:
@@ -689,10 +689,10 @@ void FramebufferManagerVulkan::CompilePostShader() {
|
||||
|
||||
if (postVs_ && postFs_) {
|
||||
pipelinePostShader_ = vulkan2D_->GetPipeline(backbufferRP, postVs_, postFs_, true, Vulkan2D::VK2DDepthStencilMode::NONE);
|
||||
usePostShader_ = true;
|
||||
} else {
|
||||
ELOG("Failed to compile.");
|
||||
pipelinePostShader_ = nullptr;
|
||||
usePostShader_ = false;
|
||||
}
|
||||
|
||||
|
||||
usePostShader_ = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user