From: Brian Paul Date: Fri, 11 Jun 2004 22:47:22 +0000 (+0000) Subject: disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b05a187dc34fa3ab6b5ab6bc1a6e98df80a2553;p=mesa.git disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the 1.5 spec --- 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: