1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-27 01:06:28 -05:00

Fixup image error message and add G8R8 to size query (#410)

This commit is contained in:
ReinUsesLisp
2018-09-11 12:48:13 -03:00
committed by gdkchan
parent db1a759c59
commit e5917f8968
3 changed files with 4 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
Image.Height,
1);
Image.Format = GalImageFormat.R8G8 | (Image.Format & GalImageFormat.FormatMask);
Image.Format = GalImageFormat.R8G8 | (Image.Format & GalImageFormat.TypeMask);
}
(PixelInternalFormat InternalFormat, PixelFormat Format, PixelType Type) = OGLEnumConverter.GetImageFormat(Image.Format);