mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Add missing null check on image binding (#1632)
This commit is contained in:
1 parent
2dcc6333f8
commit
efa77a2415
1 file changed
+1
-1
@@ -304,7 +304,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
|
|
||||||
Format format = binding.Format;
|
Format format = binding.Format;
|
||||||
|
|
||||||
if (format == 0)
|
if (format == 0 && texture != null)
|
||||||
{
|
{
|
||||||
format = texture.Format;
|
format = texture.Format;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user