Jelajahi Sumber

Fixup HasColor for depth/stencil values (#379)

ReinUsesLisp 7 tahun lalu
induk
melakukan
7cb6fd8090
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Ryujinx.Graphics/Gal/ImageFormatConverter.cs

+ 1 - 1
Ryujinx.Graphics/Gal/ImageFormatConverter.cs

@@ -237,7 +237,7 @@ namespace Ryujinx.Graphics.Gal
                 case GalImageFormat.D24_UNORM_S8_UINT:
                 case GalImageFormat.D24_UNORM_S8_UINT:
                 case GalImageFormat.D32_SFLOAT:
                 case GalImageFormat.D32_SFLOAT:
                 case GalImageFormat.D16_UNORM:
                 case GalImageFormat.D16_UNORM:
-                    return true;
+                    return false;
             }
             }
 
 
             throw new NotImplementedException(Format.ToString());
             throw new NotImplementedException(Format.ToString());