AL1616: Enable MESA_FORMAT_AL1616 for software paths
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 16 Nov 2009 22:53:36 +0000 (14:53 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 16 Nov 2009 23:23:16 +0000 (15:23 -0800)
src/mesa/main/texformat.c

index 39c561e2789b5a6c2209e0152178d70cb3a1451e..1a374e7bee51ecffb144c5322c3d6ed6e7e7a411 100644 (file)
@@ -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: