summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-04-04 23:22:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-04-04 23:22:38 +0000
commit01429fa46a05cba7d2d11825facd7d8e6117dacd (patch)
tree6f36b7a29e14eac5929b82f400cd5b66aebb4bcf /src/mesa/main
parent36f3712e85cafef1b038189678030f6ef4f8b7e9 (diff)
GL_INTENSITY case was incorrect in extract_float_rgba()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/image.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 8fcb5562af..4cdfff7e12 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.58 2001/03/07 05:06:11 brianp Exp $ */
+/* $Id: image.c,v 1.59 2001/04/04 23:22:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -2023,8 +2023,7 @@ extract_float_rgba(GLuint n, GLfloat rgba[][4],
stride = 2;
break;
case GL_INTENSITY:
- redIndex = 0;
- greenIndex = blueIndex = alphaIndex = -1;
+ redIndex = greenIndex = blueIndex = alphaIndex = 0;
stride = 1;
break;
case GL_RGB: