mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 12:31:53 +00:00
Add missing null check on image binding (#1632)
This commit is contained in:
parent
2dcc6333f8
commit
efa77a2415
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
|
||||
Format format = binding.Format;
|
||||
|
||||
if (format == 0)
|
||||
if (format == 0 && texture != null)
|
||||
{
|
||||
format = texture.Format;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue