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:
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
e62170b
..
b45cf03
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,