1
0
forked from MeloNX/MeloNX

Add missing null check on image binding (#1632)

This commit is contained in:
gdkchan 2020-10-21 09:06:13 -03:00 committed by GitHub
parent 89bc0cc217
commit 135e781f07

View File

@ -304,7 +304,7 @@ namespace Ryujinx.Graphics.Gpu.Image
Format format = binding.Format;
if (format == 0)
if (format == 0 && texture != null)
{
format = texture.Format;
}