From: Brian Paul Date: Fri, 30 Oct 2009 14:19:50 +0000 (-0600) Subject: mesa: fix incorrect format info for MESA_FORMAT_SL8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71cd40bccf8dcbf628a7d7d3f7c877d547338c5a;p=mesa.git mesa: fix incorrect format info for MESA_FORMAT_SL8 Fixes bugs 24798 and 24801. --- diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index aed313445f9..e9b33e489a3 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -387,11 +387,11 @@ static struct gl_format_info format_info[MESA_FORMAT_COUNT] = { MESA_FORMAT_SL8, "MESA_FORMAT_SL8", - GL_LUMINANCE_ALPHA, + GL_LUMINANCE, GL_UNSIGNED_NORMALIZED, - 0, 0, 0, 8, + 0, 0, 0, 0, 8, 0, 0, 0, 0, - 1, 1, 2 + 1, 1, 1 }, { MESA_FORMAT_SLA8,