summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-03-29 17:15:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-03-29 17:15:21 +0000
commit2780ed4b978b32a08be6eecb0e923250e7b907ee (patch)
treef02841940cb22fe2c6cda41d91cfa180bb08e358 /src/mesa
parent3d5815f4636be0aa9f1788ca80908d5809d26481 (diff)
silence a compiler warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 4e0ae4b38b..ff84b34da4 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.51 2001/03/19 02:25:35 keithw Exp $ */
+/* $Id: osmesa.c,v 1.52 2001/03/29 17:15:21 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -130,7 +130,7 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
OSMesaContext osmesa;
GLint rshift, gshift, bshift, ashift;
GLint rind, gind, bind, aind;
- GLint indexBits, redBits, greenBits, blueBits, alphaBits;
+ GLint indexBits = 0, redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0;
GLboolean rgbmode;
GLboolean swalpha;
const GLuint i4 = 1;