mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: chore: Fix possible NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
1 parent
fa682d406e
commit
51b32981b6
15 files changed
+70
-49
No files matched your search
@@ -134,14 +134,18 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
|
||||
// Register this render pass with all render target views.
|
||||
|
||||
var textures = fb.GetAttachmentViews();
|
||||
|
||||
foreach (var texture in textures)
|
||||
if (fb != null)
|
||||
{
|
||||
texture.AddRenderPass(key, this);
|
||||
var textures = fb.GetAttachmentViews();
|
||||
|
||||
foreach (var texture in textures)
|
||||
{
|
||||
texture.AddRenderPass(key, this);
|
||||
}
|
||||
|
||||
_textures = textures;
|
||||
}
|
||||
|
||||
_textures = textures;
|
||||
_key = key;
|
||||
|
||||
_forcedFences = [];
|
||||
|
||||
Reference in new issue
Block a user