summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-29 21:34:06 -0800
committerVinson Lee <[email protected]>2009-12-29 21:34:06 -0800
commitac21edff1c11639dcd02ae6e8ffa50beb3a82ae7 (patch)
tree47dee9d95b1e93b293e65f8cb0b9b3461dd709fc
parent0ab29d2b35bff913818f34d1979295a98cbe2b71 (diff)
tdfx: Silence uninitialized variable warning.
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
index 0aa09e733be..e31ae97b023 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
@@ -1572,7 +1572,7 @@ tdfxCompressedTexImage2D (GLcontext *ctx, GLenum target,
tdfxTexInfo *ti;
tdfxMipMapLevel *mml;
gl_format mesaFormat;
- GLuint compressedSize;
+ GLuint compressedSize = 0;
if (TDFX_DEBUG & DEBUG_VERBOSE_DRI) {
fprintf(stderr, "tdfxCompressedTexImage2D: id=%d int 0x%x %dx%d\n",