From fdd576788739044dd99ecb705ee4487f48743cea Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 9 Nov 2018 19:41:40 +0100 Subject: [PATCH] Update ImageUtils.cs (#494) Fix `GalImageFormat.D32S8` definition. --- Ryujinx.Graphics/Texture/ImageUtils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.Graphics/Texture/ImageUtils.cs b/Ryujinx.Graphics/Texture/ImageUtils.cs index 97da17a0..b69cd0ae 100644 --- a/Ryujinx.Graphics/Texture/ImageUtils.cs +++ b/Ryujinx.Graphics/Texture/ImageUtils.cs @@ -61,7 +61,7 @@ namespace Ryujinx.Graphics.Texture { GalTextureFormat.R11G11B10F, GalImageFormat.R11G11B10 | Float }, { GalTextureFormat.D24S8, GalImageFormat.D24S8 | Unorm | Uint }, { GalTextureFormat.D32F, GalImageFormat.D32 | Float }, - { GalTextureFormat.D32FX24S8, GalImageFormat.D32S8 | Unorm }, + { GalTextureFormat.D32FX24S8, GalImageFormat.D32S8 | Float }, { GalTextureFormat.D16, GalImageFormat.D16 | Unorm }, //Compressed formats @@ -397,4 +397,4 @@ namespace Ryujinx.Graphics.Texture } } } -} \ No newline at end of file +}