Mesa (master): mesa: fix L16F and L32F format properties
Marek Olšák
mareko at kemper.freedesktop.org
Fri Apr 15 03:18:26 UTC 2011
Module: Mesa
Branch: master
Commit: 19648fcf015e512283e93ab9de4a3e969d577e59
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19648fcf015e512283e93ab9de4a3e969d577e59
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:35:44 2011 +0100
mesa: fix L16F and L32F format properties
---
src/mesa/main/formats.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index e62170b..b45cf03 100644
--- 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,
More information about the mesa-commit
mailing list