Fix Ori 2 not launching (revert Possible NullReferenceException change)

This commit is contained in:
KeatonTheBot 2025-10-21 16:38:24 -05:00
parent d96e93ef0d
commit a369b246a3

View file

@ -1691,11 +1691,6 @@ namespace Ryujinx.Graphics.Vulkan
return false;
}
if (_renderPass == null)
{
return true;
}
var pipeline = pbp == PipelineBindPoint.Compute
? _newState.CreateComputePipeline(Gd, Device, _program, PipelineCache)
: _newState.CreateGraphicsPipeline(Gd, Device, _program, PipelineCache, _renderPass.Get(Cbs).Value);