summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-27 15:47:59 +0000
committerBrian Paul <[email protected]>2000-06-27 15:47:59 +0000
commit2a1f50aee4f30dbd0c55d8f0b7185b690c841051 (patch)
tree014d8b767978ada694d3569ef1fea666c4508999 /src/mesa/main/image.c
parent498c09040ecd5208326eac2e16ae0473effc4445 (diff)
fixed GL_INTENSITY error checking bug
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r--src/mesa/main/image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index c695bd85be5..9bf1ad33f81 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.33 2000/06/22 21:26:51 brianp Exp $ */
+/* $Id: image.c,v 1.34 2000/06/27 15:47:59 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -330,6 +330,7 @@ _mesa_is_legal_format_and_type( GLenum format, GLenum type )
case GL_GREEN:
case GL_BLUE:
case GL_ALPHA:
+ case GL_INTENSITY:
case GL_LUMINANCE:
case GL_LUMINANCE_ALPHA:
case GL_DEPTH_COMPONENT: