Stability fixes

This commit is contained in:
Wojtek Figat
2023-10-12 23:12:53 +02:00
parent 74a69b8f13
commit fdd6b171bb
5 changed files with 13 additions and 2 deletions

View File

@@ -174,6 +174,8 @@ bool ForwardMaterialShader::Load()
// Forward Pass
psDesc.VS = _shader->GetVS("VS");
if (psDesc.VS == nullptr)
return true;
psDesc.PS = _shader->GetPS("PS_Forward");
psDesc.DepthWriteEnable = false;
psDesc.BlendMode = BlendingMode::AlphaBlend;