From 4d6994e40ebccf9428fc757d845e25c0e0c12cef Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 16 Feb 2011 10:07:05 +0100 Subject: mesa: fix mipmap generation for MESA_FORMAT_AL44 This was missed when implementing AL44. --- src/mesa/main/formats.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/formats.h') diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index d4dc5eac03..9a5cef3778 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -35,6 +35,9 @@ #include +/* OpenGL doesn't have GL_UNSIGNED_BYTE_4_4, so we must define our own type + * for GL_LUMINANCE4_ALPHA4. */ +#define MESA_UNSIGNED_BYTE_4_4 (GL_UNSIGNED_BYTE<<1) /** -- cgit v1.2.3