summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-01-13 00:32:12 +0000
committerBrian Paul <[email protected]>2000-01-13 00:32:12 +0000
commita0020435f58baef6a67d3c073b62ea6b1d143af1 (patch)
tree94dad1a4b01a9344d4d761029cbd41d74b10560f /src
parent4fc91a1427a909b1db179cec569f12c3870e00f4 (diff)
init a few vars to silence compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 58c76deb0da..2c687728d10 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.15 2000/01/05 09:21:32 brianp Exp $ */
+/* $Id: image.c,v 1.16 2000/01/13 00:32:12 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1584,6 +1584,8 @@ extract_float_rgba(GLuint n, GLfloat rgba[][4],
srcType == GL_UNSIGNED_INT_8_8_8_8 ||
srcType == GL_UNSIGNED_INT_10_10_10_2);
+ rComp = gComp = bComp = aComp = -1;
+
switch (srcFormat) {
case GL_RED:
redIndex = 0;