summaryrefslogtreecommitdiff
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-06-11 22:47:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-06-11 22:47:22 +0000
commit5b05a187dc34fa3ab6b5ab6bc1a6e98df80a2553 (patch)
tree1887ceebe5b0035d1b02dbc5c7cda710d59675ac /src/mesa/main/image.c
parent916e749241e86fe6f2e418f38bbff770e834a020 (diff)
disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the 1.5 spec
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r--src/mesa/main/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 03f6aff339..57fe6c3fbf 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: