summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-11-16 14:53:36 -0800
committerIan Romanick <ian.d.romanick@intel.com>2009-11-16 15:23:16 -0800
commit12982e381d3474c5c00f89cc442d442df097339b (patch)
treee9f3fcdb43a15e43f8f9c27d251417d3eb15578c /src/mesa
parent3325dc91be2534079ebf7997700b6e5f17a75283 (diff)
AL1616: Enable MESA_FORMAT_AL1616 for software paths
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texformat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
index 39c561e278..1a374e7bee 100644
--- a/src/mesa/main/texformat.c
+++ b/src/mesa/main/texformat.c
@@ -115,11 +115,13 @@ _mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat,
case GL_LUMINANCE_ALPHA:
case GL_LUMINANCE4_ALPHA4:
case GL_LUMINANCE6_ALPHA2:
+ case GL_LUMINANCE8_ALPHA8:
+ return MESA_FORMAT_AL88;
+
case GL_LUMINANCE12_ALPHA4:
case GL_LUMINANCE12_ALPHA12:
case GL_LUMINANCE16_ALPHA16:
- case GL_LUMINANCE8_ALPHA8:
- return MESA_FORMAT_AL88;
+ return MESA_FORMAT_AL1616;
case GL_INTENSITY:
case GL_INTENSITY4: