diff options
author | Brian Paul <[email protected]> | 2001-03-29 17:15:21 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-29 17:15:21 +0000 |
commit | 2780ed4b978b32a08be6eecb0e923250e7b907ee (patch) | |
tree | f02841940cb22fe2c6cda41d91cfa180bb08e358 /src | |
parent | 3d5815f4636be0aa9f1788ca80908d5809d26481 (diff) |
silence a compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 4e0ae4b38bd..ff84b34da40 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; |