From d62d63845e2cfb6f50281516f201559c0e009041 Mon Sep 17 00:00:00 2001 From: espes Date: Fri, 14 Aug 2015 11:33:22 +1000 Subject: [PATCH] fix a8y8. i should use code-review -_- --- hw/xbox/nv2a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/nv2a.c b/hw/xbox/nv2a.c index 066e8334b3..97d29ea6dd 100644 --- a/hw/xbox/nv2a.c +++ b/hw/xbox/nv2a.c @@ -1157,7 +1157,7 @@ static const ColorFormatInfo kelvin_color_format_map[66] = { {GL_ONE, GL_ONE, GL_ONE, GL_RED}}, [NV097_SET_TEXTURE_FORMAT_COLOR_SZ_A8Y8] = {2, false, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, - {GL_BLUE, GL_BLUE, GL_BLUE, GL_RED}}, + {GL_GREEN, GL_GREEN, GL_GREEN, GL_RED}}, [NV097_SET_TEXTURE_FORMAT_COLOR_LU_IMAGE_X8R8G8B8] = {4, true, GL_RGB8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV},