summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-29 15:56:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-29 15:56:53 +0000
commit070b2644c6d3b0b4c6da64addd85245d730b6240 (patch)
treee776cd6cf573c08deda31abdcffa5ae9bd45f17b /src
parenta14ee6b081e7436cb48c7e384f9c4a3b1d3fdae8 (diff)
added missing GL_INTENSITY case in _mesa_components_in_format()
Diffstat (limited to 'src')
-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 2d880af181..e0879be5e3 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.23 2000/03/21 16:09:37 brianp Exp $ */
+/* $Id: image.c,v 1.24 2000/03/29 15:56:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -224,6 +224,7 @@ GLint _mesa_components_in_format( GLenum format )
case GL_BLUE:
case GL_ALPHA:
case GL_LUMINANCE:
+ case GL_INTENSITY:
return 1;
case GL_LUMINANCE_ALPHA:
return 2;