disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the...
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:47:22 +0000 (22:47 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:47:22 +0000 (22:47 +0000)
src/mesa/main/image.c

index 03f6aff339172ac100159456f979738afa8d790a..57fe6c3fbf7d9fc67df37e330f8d8061503ab24b 100644 (file)
@@ -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: