OSDN Git Service
(root)
/
android-x86
/
external-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
aed3134
..
e9b33e4
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,