projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9c413
)
mesa: fix incorrect format info for MESA_FORMAT_SL8
author
Brian Paul
<brianp@vmware.com>
Fri, 30 Oct 2009 14:19:50 +0000
(08:19 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 30 Oct 2009 14:21:16 +0000
(08:21 -0600)
Fixes bugs 24798 and 24801.
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index aed313445f9de67e02f80e12511b0d799effbf52..e9b33e489a36b536287c13af9dbb4d0ccd993957 100644
(file)
--- 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,