rsx: Fix sloppy format matching test

This commit is contained in:
kd-11 2021-11-27 16:39:48 +03:00 committed by kd-11
parent 4fe17fcecf
commit 44fe6f6d39

View File

@ -1767,7 +1767,7 @@ namespace rsx
if (!valid_range())
return false;
if ((gcm_format & format) != format)
if (format && gcm_format != format)
return false;
if (!width && !height && !depth && !mipmaps)