Z16: PixelType.HalfFloat -> PixelType.UnsignedShort
This commit is contained in:
parent
9f3208ffa8
commit
1001e5e63e
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue