mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Vulkan: Fix crash bug when post processing shaders failed to compile.
This commit is contained in:
parent
f8b70fe185
commit
d2fe42ea90
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue