From 5b05a187dc34fa3ab6b5ab6bc1a6e98df80a2553 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 11 Jun 2004 22:47:22 +0000 Subject: [PATCH] disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the 1.5 spec --- src/mesa/main/image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 03f6aff3391..57fe6c3fbf7 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -358,7 +358,9 @@ _mesa_is_legal_format_and_type( GLcontext *ctx, GLenum format, GLenum type ) case GL_GREEN: case GL_BLUE: case GL_ALPHA: +#if 0 /* not legal! see table 3.6 of the 1.5 spec */ case GL_INTENSITY: +#endif case GL_LUMINANCE: case GL_LUMINANCE_ALPHA: case GL_DEPTH_COMPONENT: -- 2.30.2