mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-28 16:50:09 -06:00
Add missing null check on image binding (#1632)
This commit is contained in:
@ -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