summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-30 08:19:50 -0600
committerBrian Paul <[email protected]>2009-10-30 08:21:16 -0600
commit71cd40bccf8dcbf628a7d7d3f7c877d547338c5a (patch)
treea53819fd3ae59b812e4a477659356629c3019dcb /src/mesa/main
parentca9c413647bf9efb5ed770e3a655bc758075aec7 (diff)
mesa: fix incorrect format info for MESA_FORMAT_SL8
Fixes bugs 24798 and 24801.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/formats.c6
1 files changed, 3 insertions, 3 deletions
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,