misc: Tweak NullReferenceException fixes

This commit is contained in:
KeatonTheBot
2025-11-23 13:43:15 -06:00
parent 35bced8527
commit 377805579b
23 changed files with 143 additions and 128 deletions
+1 -1
View File
@@ -1693,7 +1693,7 @@ namespace Ryujinx.Graphics.Vulkan
var pipeline = pbp == PipelineBindPoint.Compute
? _newState.CreateComputePipeline(Gd, Device, _program, PipelineCache)
: _newState.CreateGraphicsPipeline(Gd, Device, _program, PipelineCache, _renderPass.Get(Cbs).Value);
: _newState.CreateGraphicsPipeline(Gd, Device, _program, PipelineCache, _renderPass!.Get(Cbs).Value);
if (pipeline == null)
{
@@ -134,7 +134,7 @@ namespace Ryujinx.Graphics.Vulkan
// Register this render pass with all render target views.
if (fb != null)
if (hasFramebuffer)
{
var textures = fb.GetAttachmentViews();