projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d78f83
)
mesa: fix L16F and L32F format properties
author
Marek Olšák
<maraeo@gmail.com>
Tue, 15 Feb 2011 23:35:44 +0000
(
00:35
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 15 Apr 2011 03:08:00 +0000
(
05:08
+0200)
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index e62170b71c18e9ff988ecb5bc07712a4ac0983fb..b45cf03995b91c67c2277725e6b88061f8936b4e 100644
(file)
--- a/
src/mesa/main/formats.c
+++ b/
src/mesa/main/formats.c
@@
-677,7
+677,7
@@
static struct gl_format_info format_info[MESA_FORMAT_COUNT] =
{
MESA_FORMAT_LUMINANCE_FLOAT32,
"MESA_FORMAT_LUMINANCE_FLOAT32",
- GL_
ALPHA
,
+ GL_
LUMINANCE
,
GL_FLOAT,
0, 0, 0, 0,
32, 0, 0, 0, 0,
@@
-686,7
+686,7
@@
static struct gl_format_info format_info[MESA_FORMAT_COUNT] =
{
MESA_FORMAT_LUMINANCE_FLOAT16,
"MESA_FORMAT_LUMINANCE_FLOAT16",
- GL_
ALPHA
,
+ GL_
LUMINANCE
,
GL_FLOAT,
0, 0, 0, 0,
16, 0, 0, 0, 0,