From 1001e5e63ef6e564b4eb0d3d984cbcce7f0bb012 Mon Sep 17 00:00:00 2001 From: BUP <39006831+yourmothergay@users.noreply.github.com> Date: Sat, 11 Aug 2018 23:19:40 +0900 Subject: [PATCH] Z16: PixelType.HalfFloat -> PixelType.UnsignedShort --- Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs index db9b66f494..53aa9d0b42 100644 --- a/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs +++ b/Ryujinx.Graphics/Gal/OpenGL/OGLEnumConverter.cs @@ -144,7 +144,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL case GalTextureFormat.ZF32: return (PixelFormat.DepthComponent, PixelType.Float); case GalTextureFormat.BF10GF11RF11: return (PixelFormat.Rgb, PixelType.UnsignedInt10F11F11FRev); case GalTextureFormat.Z24S8: return (PixelFormat.DepthStencil, PixelType.UnsignedInt248); - case GalTextureFormat.Z16: return (PixelFormat.DepthComponent, PixelType.HalfFloat); + case GalTextureFormat.Z16: return (PixelFormat.DepthComponent, PixelType.UnsignedShort); } throw new NotImplementedException(Format.ToString());