Z16: PixelType.HalfFloat -> PixelType.UnsignedShort

This commit is contained in:
BUP 2018-08-11 23:19:40 +09:00
parent 9f3208ffa8
commit 1001e5e63e

View file

@ -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());