projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f3712
)
GL_INTENSITY case was incorrect in extract_float_rgba()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 4 Apr 2001 23:22:38 +0000
(23:22 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 4 Apr 2001 23:22:38 +0000
(23:22 +0000)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 8fcb5562af7fd2025b1368026f22178de0b10acb..4cdfff7e12cec8de1c25727fa5564d1b4729ac55 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-1,4
+1,4
@@
-/* $Id: image.c,v 1.5
8 2001/03/07 05:06:11
brianp Exp $ */
+/* $Id: image.c,v 1.5
9 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: