mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-30 15:19:02 +02:00
misc: Tweak NullReferenceException fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user